Sha256: acb58e9ce4dca71d4d32e797b99484da37b2e7116ffdf55b3891ad4923e2d312
Contents?: true
Size: 629 Bytes
Versions: 5
Compression:
Stored size: 629 Bytes
Contents
import React from 'react' import TimePicker from './TimePicker' import { select, boolean, number } from '@storybook/addon-knobs' export default function TimePickerStory(stories) { stories.add('TimePicker', () => { const props = { clock: select('clock', [12, 24], 12), disabled: boolean('disabled', false), minHour: number('minHour', 0, { range: true, min: 0, max: 24, step: 1}), maxHour: number('maxHour', 24, { range: true, min: 0, max: 24, step: 1}), onChange: () => {}, defaultValue: '', } return ( <TimePicker {...props}/> ) } ) }
Version data entries
5 entries across 5 versions & 1 rubygems