emit({ period: p })}
onLeftFocus={() => minuteRef.current?.focus()}
/>
>
);
if (!selectable) {
return (
hourRef.current?.focus()}
className={boxClassName}
>
{segments}
);
}
return (
{options.map((option) => {
const isSelected = option.value === currentValue;
return (
);
})}
);
}
export default TimePicker;