modern-react-ui-components
Version:
Modern React + TypeScript component library with Toaster, Input, and DatePicker components
16 lines (15 loc) • 463 B
TypeScript
import { default as React } from 'react';
export type DatePickerView = 'day' | 'month' | 'year';
export interface DatePickerProps {
label?: string;
placeholder?: string;
value?: Date | null;
onChange?: (date: Date | null) => void;
disabled?: boolean;
required?: boolean;
className?: string;
format?: string;
}
declare const DatePicker: React.FC<DatePickerProps>;
export default DatePicker;
//# sourceMappingURL=DatePicker.d.ts.map