viskan-deku-button

1.1.2 • Public • Published

deku-button Build Status

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};

License

MIT © Viskan Distanshandel System AB

Package Sidebar

Install

npm i viskan-deku-button

Weekly Downloads

1

Version

1.1.2

License

MIT

Last publish

Collaborators

  • alonalon
  • anton-johansson
  • gillstrom
  • henrikpeszlen
  • michaelbergquistsuarez