allow title override in ActionButton

This commit is contained in:
nklhrstv 2020-03-29 23:57:05 +03:00
parent 8f17665b24
commit c860c269b0

View file

@ -7,7 +7,7 @@ const styles = require('./styles');
const ActionButton = ({ className, icon, label, ...props }) => {
return (
<Button {...props} className={classnames(className, styles['action-button-container'])} title={label}>
<Button title={label} {...props} className={classnames(className, styles['action-button-container'])}>
{
typeof icon === 'string' && icon.length > 0 ?
<div className={styles['icon-container']}>