viskan-deku-button
v1.1.2
Published
Button component for deku
Downloads
6
Readme
deku-button
Button component for deku
Install
$ npm install --save deku-button
Usage
import Button from 'deku-button';
const handleClick = e => {
console.log(e.target.className);
//=> 'Button'
};
const render = () => {
return (
<Button onClick={handleClick}>
Click me!
</Button>
);
};
export default {render};