UNPKG

react-nepali-datetime-picker

Version:

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

19 lines (18 loc) 571 B
/// <reference types="react" /> export interface InputProps { className?: string; icon?: IconProps; nativeInput?: NativeInputProps; } export declare const Input: ({ className, nativeInput, icon, }: InputProps) => JSX.Element; type NativeInputProps = React.HTMLAttributes<HTMLInputElement> & { className?: string; onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void; value?: string; }; type IconProps = React.HTMLAttributes<HTMLDivElement> & { className?: string; children?: React.ReactNode; onClick?: () => void; }; export {};