diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-02 18:55:15 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-02 18:55:15 +0100 |
commit | 4d23a85c29c6cfd1340b3365c081a940766e50bc (patch) | |
tree | 8d719507a3c04250af7a39a4d10cca5867e1b0fa | |
parent | 4c0e9f85c5c9e3be91f9a76139fab3b55abbf363 (diff) |
Fix up storybook
-rw-r--r-- | app/assets/stylesheets/components.scss | 2 | ||||
-rw-r--r-- | storybook/stories/autosuggest_textarea.story.jsx | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss index ecf510916..4b1e86aca 100644 --- a/app/assets/stylesheets/components.scss +++ b/app/assets/stylesheets/components.scss @@ -1,3 +1,5 @@ +@import 'variables'; + .button { background-color: darken($color4, 3%); font-family: inherit; diff --git a/storybook/stories/autosuggest_textarea.story.jsx b/storybook/stories/autosuggest_textarea.story.jsx index 7d84ff1e1..72a4b525d 100644 --- a/storybook/stories/autosuggest_textarea.story.jsx +++ b/storybook/stories/autosuggest_textarea.story.jsx @@ -2,5 +2,5 @@ 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' />) + .add('default state', () => <AutosuggestTextarea value='' suggestions={[]} />) + .add('with text', () => <AutosuggestTextarea value='Hello' suggestions={[]} />) |