mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-02-26 09:05:17 +00:00
spread remaining props into mobile button
This commit is contained in:
parent
01b9b33f79
commit
d1be9e814e
@ -10,9 +10,9 @@ const styles = theme => ({
|
||||
}
|
||||
});
|
||||
const buttonText = { color: '#4360df', margin: '0 20px', fontWeight: 300 };
|
||||
const MobileButton = ({ classes, text, type, style }) => (
|
||||
const MobileButton = ({ classes, text, type, style, ...props }) => (
|
||||
<Fragment>
|
||||
<Button type={type} size="large" className={classNames(classes.button)} style={style}>
|
||||
<Button type={type} size="large" className={classNames(classes.button)} style={style} {...props} >
|
||||
<div style={buttonText}>{text}</div>
|
||||
</Button>
|
||||
</Fragment>
|
||||
|
Loading…
x
Reference in New Issue
Block a user