1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 01:39:50 +02:00
Files
nes.css/story/inputs/inputs.stories.js
Kaylum Lally 2e06165882 refactor(storybook): storybook enhancement and cleanup
refactored the storybook codebase for all components

re #381
2019-12-14 15:21:15 +00:00

13 lines
376 B
JavaScript

import { storiesOf } from '@storybook/html';
import { withKnobs } from '@storybook/addon-knobs';
import Input from './input.template';
import CheckBox from './checkboxes.template';
import Radio from './radio.template';
storiesOf('Inputs', module)
.addDecorator(withKnobs)
.add('Input', () => Input())
.add('Checkbox', () => CheckBox())
.add('Radio', () => Radio());