/* eslint-disable react-hooks/rules-of-hooks */ import React, { useState } from 'react'; import { select, action } from '@theforeman/stories'; import { TASKS_DASHBOARD_AVAILABLE_TIMES } from '../../TasksDashboardConstants'; import TasksTimeRow from './TasksTimeRow'; export default { title: 'TasksDashboard/TasksTimeRow', component: TasksTimeRow, }; export const withState = () => { const [time, updateTime] = useState(TASKS_DASHBOARD_AVAILABLE_TIMES.H24); return ; }; export const withKnobs = () => ( ); export const with24Hours = () => ( ); export const with12Hours = () => ( ); export const withWeek = () => ( );