DocSpace-buildtools/web/ASC.Web.Components/example/stories/input/index.stories.js

15 lines
499 B
JavaScript

import React from 'react';
import { storiesOf } from '@storybook/react';
// import { action } from '@storybook/addon-actions';
import { withKnobs, text } from '@storybook/addon-knobs/react';
import withReadme from 'storybook-readme/with-readme';
import Readme from './README.md';
import { Input } from 'asc-web-components';
storiesOf('Components|Input', module)
.addDecorator(withKnobs)
.addDecorator(withReadme(Readme))
.add('base', () => (
<Input value={text('value', 'TEXT')} />
));