mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-01-09 10:32:12 +00:00
23 lines
674 B
JavaScript
23 lines
674 B
JavaScript
import React, { Fragment } from 'react';
|
|
import classNames from 'classnames';
|
|
import { withStyles } from '@material-ui/core/styles';
|
|
import Button from '@material-ui/core/Button';
|
|
|
|
const styles = theme => ({
|
|
button: {
|
|
margin: theme.spacing.unit,
|
|
borderRadius: '4px',
|
|
backgroundColor: 'rgb(67, 96, 223, 0.1)',
|
|
}
|
|
});
|
|
const buttonText = { color: '#4360df', margin: '0 20px', fontWeight: 300 };
|
|
const MobileButton = ({ classes, text, type }) => (
|
|
<Fragment>
|
|
<Button type={type} size="large" className={classNames(classes.button)} >
|
|
<div style={buttonText}>{text}</div>
|
|
</Button>
|
|
</Fragment>
|
|
);
|
|
|
|
export default withStyles(styles)(MobileButton);
|