Sha256: 9d3434613e0d56b779e6a7a92661c40fd489f48c23dbe7108eaf096d8d5b2c1a
Contents?: true
Size: 766 Bytes
Versions: 51
Compression:
Stored size: 766 Bytes
Contents
import React from 'react'; import { number, text, select, action } from '@theforeman/stories'; import { TASKS_DONUT_CHART_FOCUSED_ON_OPTIONS_ARRAY } from './TasksDonutChartConstants'; import TasksDonutChart from './TasksDonutChart'; export default { title: 'TasksDashboard/TasksCardsGrid/Charts/TasksDonutChart', component: TasksDonutChart, }; export const Basic = () => ( <TasksDonutChart last={number('last', 3)} older={number('older', 5)} time={text('time', '24h')} focusedOn={select( 'focusedOn', TASKS_DONUT_CHART_FOCUSED_ON_OPTIONS_ARRAY, TasksDonutChart.defaultProps.focusedOn )} onTotalClick={action('onTotalClick')} onLastClick={action('onLastClick')} onOlderClick={action('onOlderClick')} /> );
Version data entries
51 entries across 51 versions & 1 rubygems