mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
allow title override in ActionButton
This commit is contained in:
parent
8f17665b24
commit
c860c269b0
1 changed files with 1 additions and 1 deletions
|
|
@ -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']}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue