Sha256: 189d35226e85a31a460a38f07d3aea4299087261fd10ff107bb95baa394d10cc
Contents?: true
Size: 782 Bytes
Versions: 22
Compression:
Stored size: 782 Bytes
Contents
import React from 'react'; import { storiesOf } from '@storybook/react'; import { withKnobs, select } from '@storybook/addon-knobs'; import { action } from '@storybook/addon-actions'; import { withCardsDecorator } from '../../../../../../../stories/decorators'; import { TASKS_DASHBOARD_AVAILABLE_TIMES } from '../../../../TasksDashboardConstants'; import TimeDropDown from './TimeDropDown'; storiesOf('TasksDashboard/TasksTimeRow', module) .addDecorator(withKnobs) .addDecorator(withCardsDecorator) .add('TimeDropDown', () => ( <TimeDropDown id="time-period-dropdown" selectedTime={select( 'selectedTime', TASKS_DASHBOARD_AVAILABLE_TIMES, TASKS_DASHBOARD_AVAILABLE_TIMES.H24 )} onChange={action('onChange')} /> ));
Version data entries
22 entries across 22 versions & 1 rubygems