UNPKG

desmy-react

Version:

Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.

18 lines (17 loc) 543 B
import { default as React } from 'react'; interface TimeSelectorProps { label: string; value: string; onChange: (value: string) => void; } export default class TimeSelector extends React.Component<TimeSelectorProps> { parseTime(value: string): { h: number; m: number; meridian: string; }; formatTime(h: number, m: number, meridian: string): string; updateTime(part: "h" | "m" | "meridian", direction: "up" | "down"): void; render(): import("react/jsx-runtime").JSX.Element; } export {};