su-storybook-ui
v1.1.1
Published
wanted storybook chalenge
Downloads
15
Readme
su-storybook-ui
This project is about ui component using storybook.
Installation
NPM
$ npm i su-storybook-ui
Usage
Button
import { Button } from 'su-storybook-ui';
<Button label='Button' primary />;
Options
| Name | Type | Default | Required | | :------: | :------: | :-----: | :------: | | label | string | | O | | primary | boolean | false | X | | size | string | medium | X | | disabled | boolean | false | X | | onClick | function | | X |
Setup