Re-implemented autosuggestions component for the compose form

Fix #205, fix #156, fix #124
This commit is contained in:
Eugen Rochko 2016-12-14 18:21:31 +01:00
parent 4284093aa3
commit b27066e154
16 changed files with 787 additions and 142 deletions

View 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' />)

View file

@ -1,3 +1,4 @@
import { storiesOf } from '@kadira/storybook';
import Button from '../../app/assets/javascripts/components/components/button.jsx'
storiesOf('Button', module)

View file

@ -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>);

View file

@ -1,6 +0,0 @@
import TabsBar from '../../app/assets/javascripts/components/features/ui/components/tabs_bar.jsx'
storiesOf('TabsBar', module)
.add('default state', () => (
<TabsBar />
));