muub-react-buttons
v0.0.9
Published
Set of custom React button components
Downloads
17
Readme
muub-react-buttons
This will be a set of custom react buttons. Right now it only includes one button component with some variations.
npm install --save muub-react-buttonsimport {Button} from 'muub-react-buttons';
class Example extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<div>
<h1>REACT BUTTONS EXAMPLE</h1>
<Button buttonStyle={'rounded'}
onClick={() => alert('hello')}>
Click me
</Button>
</div>
)
}
}Props | Values ------|------- onClick | func (required): Click event handler. buttonStyle | string (values: default | rounded): Sets one of pre configured button styles.
