import React from 'react'; import { storiesOf } from '@storybook/react'; import TableInputCSV from './TableInputCSV'; import { action } from '@storybook/addon-actions'; import { DataFrame } from '../../types/data'; import { withCenteredStory } from '../../utils/storybook/withCenteredStory'; const TableInputStories = storiesOf('UI/Table/Input', module); TableInputStories.addDecorator(withCenteredStory); TableInputStories.add('default', () => { return ( { console.log('Data', data, text); action('Data')(data, text); }} /> ); });