deku-button
v1.2.1
Published
Button component for deku
Downloads
17
Readme
deku-button
Button component for deku
Install
$ npm install deku-button
Usage
import Button from 'deku-button';
const handleClick = e => {
console.log(e.target.className);
//=> 'Button'
};
const render = () => (
<Button onClick={handleClick}>
Click me!
</Button>
);
export default {render};
License
MIT © Kevin Mårtensson