import { TimePicker, TimePickerProps } from './time-picker'; import { DemoStory } from '../../demo/demo-types'; import { ActionSheetTimePicker } from '../../components/action-sheet-time'; import { Button, ButtonSize } from '../../components/button'; export const timePickerDemo: DemoStory = { id: 'timePickerDemo', text: 'TimePicker', args: { value: '14:30:00', placeholder: 'Pick a time', }, argTypes: { value: { control: 'text', description: 'Initial time value (HH:mm:ss)' }, placeholder: { control: 'text' }, }, render: (args: any) => { return (
Interactive Time Selection

Click the input to open the 3-column selector. Double-click an item or click OK to confirm.

console.log('Time changed:', val)} />
Standalone Usage
Mobile Friendly Alternative

For mobile environments, it is highly recommended to use the ActionSheet-based Time Picker, which provides a native-like bottom-sheet spinning wheel experience.

); }, code: `import { TimePicker } from 'lupine.components/component-pool'; console.log(val)} placeholder="Select time" /> `, };