glitchier-soc/storybook/stories/autosuggest_textarea.story.jsx

7 lines
362 B
React
Raw Normal View History

import { storiesOf } from '@kadira/storybook';
import AutosuggestTextarea from '../../app/assets/javascripts/components/components/autosuggest_textarea.jsx'
storiesOf('AutosuggestTextarea', module)
2017-03-02 19:55:15 +02:00
.add('default state', () => <AutosuggestTextarea value='' suggestions={[]} />)
.add('with text', () => <AutosuggestTextarea value='Hello' suggestions={[]} />)