Re-implemented autosuggestions component for the compose form
Fix #205, fix #156, fix #124
This commit is contained in:
parent
4284093aa3
commit
b27066e154
16 changed files with 787 additions and 142 deletions
6
storybook/stories/autosuggest_textarea.story.jsx
Normal file
6
storybook/stories/autosuggest_textarea.story.jsx
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { storiesOf } from '@kadira/storybook';
|
||||
import AutosuggestTextarea from '../../app/assets/javascripts/components/components/autosuggest_textarea.jsx'
|
||||
|
||||
storiesOf('AutosuggestTextarea', module)
|
||||
.add('default state', () => <AutosuggestTextarea />)
|
||||
.add('with text', () => <AutosuggestTextarea value='Hello' />)
|
|
@ -1,3 +1,4 @@
|
|||
import { storiesOf } from '@kadira/storybook';
|
||||
import Button from '../../app/assets/javascripts/components/components/button.jsx'
|
||||
|
||||
storiesOf('Button', module)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { storiesOf } from '@kadira/storybook';
|
||||
import LoadingIndicator from '../../app/assets/javascripts/components/components/loading_indicator.jsx'
|
||||
import { IntlProvider } from 'react-intl';
|
||||
|
||||
storiesOf('LoadingIndicator', module)
|
||||
.add('default state', () => (
|
||||
<LoadingIndicator />
|
||||
));
|
||||
.add('default state', () => <IntlProvider><LoadingIndicator /></IntlProvider>);
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
import TabsBar from '../../app/assets/javascripts/components/features/ui/components/tabs_bar.jsx'
|
||||
|
||||
storiesOf('TabsBar', module)
|
||||
.add('default state', () => (
|
||||
<TabsBar />
|
||||
));
|
Loading…
Add table
Add a link
Reference in a new issue