import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import CronScheduler from './Loadable';
import {
  text,
  boolean,
  number,
  object,
  array,
  selectV2,
  date,
  color,
  button,
  select
} from '@storybook/addon-knobs/react';
import { withInfo } from '@storybook/addon-info';
import { linkTo } from '@storybook/addon-links'

storiesOf('CronScheduler', module)
  .add('Schedule Cron expression generator',
     withInfo('This is a tabs components that is configured from outside , it provides you with the Tabs UX and the click functionality on tabs and also the selected state of the tabs .')(
          () => {
            return <CronScheduler>
              <div>aman</div>
            </CronScheduler>
          }
     ))