UNPKG

react-nepali-datetime-picker

Version:

A simple and reusable Nepali calendar, date and time picker components for React.

31 lines (30 loc) 915 B
/// <reference types="react" /> import { InputProps } from '../../components/ui/Input/Input'; import { NepaliTime } from '../../types'; import { HourFormat } from '../../types/HourFormat'; import { Language } from '../../types/Language'; export type TimeInputTargetValue = { valid: boolean; value?: NepaliTime; }; export interface TimeInputProps { className?: string; selectedTime?: NepaliTime; input?: InputProps; lang?: Language; hourFormat?: HourFormat; fullWidth?: boolean; error?: { message?: string; show?: boolean; rootClassName?: string; className?: string; }; success?: { message?: string; show?: boolean; rootClassName?: string; className?: string; }; } export declare const TimeInput: import("react").ForwardRefExoticComponent<TimeInputProps & import("react").RefAttributes<HTMLDivElement>>;