deku-button

1.2.1 • Public • Published

deku-button Build Status

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

Package Sidebar

Install

npm i deku-button

Weekly Downloads

0

Version

1.2.1

License

MIT

Last publish

Collaborators

  • gillstrom
  • kevva