Sha256: 246b525b502cdd8300beceba22da090dcaaaa996f085604bdedf54eb535cafdc
Contents?: true
Size: 726 Bytes
Versions: 22
Compression:
Stored size: 726 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 TasksTimeRow from './TasksTimeRow'; storiesOf('TasksDashboard/TasksTimeRow', module) .addDecorator(withKnobs) .addDecorator(withCardsDecorator) .add('TasksTimeRow', () => ( <TasksTimeRow time={select( 'time', TASKS_DASHBOARD_AVAILABLE_TIMES, TASKS_DASHBOARD_AVAILABLE_TIMES.H24 )} updateTime={action('updateTime')} /> ));
Version data entries
22 entries across 22 versions & 1 rubygems