@rnwonder/react-date-picker
Version:
A lightweight, customizable, and accessible date picker component for React applications.
22 lines (20 loc) • 805 B
TypeScript
import { TimeView, TimeClassName } from '../../interface/general';
import { default as React } from 'react';
interface ITimeNumberProps extends TimeClassName {
type: TimeView;
selectedValue: number | undefined;
onClick: (type: TimeView, value?: number) => void;
onMouseUp: () => void;
onPointerEnter: (e: React.PointerEvent<HTMLButtonElement>, type: TimeView, attr?: number) => void;
onTouchEnd: (e: TouchEvent & {
currentTarget: HTMLButtonElement;
target: Element;
}, type: TimeView, attr?: number) => void;
onTouchStart: () => void;
onPointerUp: () => void;
onPointerCancel: () => void;
className?: string;
index: number;
}
export declare const TimeNumber: (props: ITimeNumberProps) => import("react/jsx-runtime").JSX.Element;
export {};