0.0.9 • Published 7 years ago

muub-react-buttons v0.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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-buttons
import {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>
    )
  }
}
PropsValues
onClickfunc (required): Click event handler.
buttonStylestring (values: default | rounded): Sets one of pre configured button styles.
0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago