logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 4d23a85c29c6cfd1340b3365c081a940766e50bc
parent: 4c0e9f85c5c9e3be91f9a76139fab3b55abbf363
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Thu,  2 Mar 2017 18:55:15 +0100

Fix up storybook

Diffstat:

Mapp/assets/stylesheets/components.scss2++
Mstorybook/stories/autosuggest_textarea.story.jsx4++--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git 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 @@ -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={[]} />)