mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
#58 fixed submit bar lab icon
This commit is contained in:
parent
f7b8a9c0c3
commit
54b2b62a54
2 changed files with 4 additions and 2 deletions
|
@ -23,6 +23,8 @@ const SubmitBar: FC<Props> = ({ isLab }) => {
|
|||
[url]
|
||||
);
|
||||
|
||||
const icon = isLab ? 'lab' : 'plus';
|
||||
|
||||
return (
|
||||
<div className={classNames(styles.wrap, { [styles.lab]: isLab })}>
|
||||
<div className={classNames(styles.panel, { [styles.active]: focused })}>
|
||||
|
@ -44,7 +46,7 @@ const SubmitBar: FC<Props> = ({ isLab }) => {
|
|||
</div>
|
||||
|
||||
<button className={styles.button} onFocus={onFocus} onBlur={onBlur} type="button">
|
||||
<Icon icon="plus" />
|
||||
<Icon icon={icon} />
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue