You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/storybook/stories/autosuggest_textarea.story.jsx

7 lines
362 B
JavaScript

import { storiesOf } from '@kadira/storybook';
import AutosuggestTextarea from '../../app/assets/javascripts/components/components/autosuggest_textarea.jsx'
storiesOf('AutosuggestTextarea', module)
.add('default state', () => <AutosuggestTextarea value='' suggestions={[]} />)
.add('with text', () => <AutosuggestTextarea value='Hello' suggestions={[]} />)