Fix up storybook

pull/662/head
Eugen Rochko 2017-03-02 18:55:15 +01:00
parent 4c0e9f85c5
commit 4d23a85c29
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
@import 'variables';
.button { .button {
background-color: darken($color4, 3%); background-color: darken($color4, 3%);
font-family: inherit; font-family: inherit;

View File

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