fix(ui): set description value to action button title
This commit is contained in:
parent
7adfb6c211
commit
fb5cb10aa2
@ -23,6 +23,7 @@ export const ActionButton: FC<ActionButtonProps> = ({
|
|||||||
className={cn([`${styles.button}`, 'action-button'])}
|
className={cn([`${styles.button}`, 'action-button'])}
|
||||||
onClick={() => externalActionSelected(action)}
|
onClick={() => externalActionSelected(action)}
|
||||||
style={{ backgroundColor: color }}
|
style={{ backgroundColor: color }}
|
||||||
|
title={description || title}
|
||||||
>
|
>
|
||||||
{icon && <img src={icon} className={`${styles.icon}`} alt={description} />}
|
{icon && <img src={icon} className={`${styles.icon}`} alt={description} />}
|
||||||
{title}
|
{title}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user