Fix up storybook
This commit is contained in:
		
							parent
							
								
									4c0e9f85c5
								
							
						
					
					
						commit
						4d23a85c29
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,5 @@
 | 
			
		|||
@import 'variables';
 | 
			
		||||
 | 
			
		||||
.button {
 | 
			
		||||
  background-color: darken($color4, 3%);
 | 
			
		||||
  font-family: inherit;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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={[]} />)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue