UNPKG

@rws-air/webcomponents

Version:
18 lines 629 B
import { DatePickerProps as MuiDatePickerProps } from 'formik-mui-lab'; import { FC } from 'react'; export interface DatePickerProps extends MuiDatePickerProps { /** The label shown in the datepicker */ label: string; /** The minimum date to meet */ minDate: Date; } /** * Constructs a Date Picker with formik validation * @param componentProps Props to pass to the date picker component * @example * ```jsx * <Field component={DatePicker} minDate={new Date('2012-01-01')} name='date' label='Sample Date' /> * ``` */ export declare const DatePicker: FC<DatePickerProps>; //# sourceMappingURL=index.d.ts.map