mfg-ui-components
Version:
React UI library with reusable components
17 lines (16 loc) • 701 B
TypeScript
import "./DatePicker.scss";
export type dateFormate = "DD/MM/YYYY" | "DD-MM-YYYY" | "MM/DD/YYYY" | "MM-DD-YYYY" | "MM DD YYYY" | "YYYY/MM/DD" | "YYYY-MM-DD" | "MMM DD, YYYY" | "MMM D, YY" | "MMMM DD, YYYY" | "MMMM D, YY";
export interface Props {
minDate?: any;
maxDate?: any;
customClass?: string;
id?: string;
dateIcon?: any;
dateFormate?: dateFormate;
ariaLabel?: string;
dateName?: string;
defaultValue?: any;
OnChange?: (event: any) => void;
}
declare const DatePicker: ({ minDate, maxDate, customClass, id, dateIcon, dateFormate, ariaLabel, dateName, defaultValue, OnChange }: Props) => import("react/jsx-runtime").JSX.Element;
export default DatePicker;