TimePicker
A time picker component to pick a time.
'use client'import {TimePicker,TimePickerSegment,TimePickerSeparator,} from '@nerdfish/ui'import { ClockIcon } from 'lucide-react'export function TimePickerExample() {return (<TimePicker defaultValue={new Date()} icon={ClockIcon}><TimePickerSegment segment="hours" /><TimePickerSeparator>:</TimePickerSeparator><TimePickerSegment segment="minutes" /></TimePicker>)}
Usage
import {TimePicker,TimePickerSegment,TimePickerSeparator,} from '@nerdfish/ui'
<TimePicker defaultValue={new Date()}><TimePickerSegment segment="hours" /><TimePickerSeparator>:</TimePickerSeparator><TimePickerSegment segment="minutes" /></TimePicker>