import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import TextArea from './index'
import { text, boolean, number, object } from '@storybook/addon-knobs/react';
import { withInfo } from '@storybook/addon-info';
import { linkTo } from '@storybook/addon-links'


storiesOf('TextArea', module)
  .add('TextArea',
  	withInfo('info text')(
  		() => (
  		<TextArea
		    onChange={action('onChange')}
		    textAreaStyles={object('TextAreaStyles (double quotes only)',{})}
		    placeholder={text('Placeholder', 'Waka Waka')}
  		/>
  	)
  ))
