import React, { FC, ReactNode } from 'react'; import { ReactDatePickerProps } from 'react-datepicker'; import 'react-datepicker/dist/react-datepicker.css'; export interface IFormikUiDatepickerProps extends ReactDatePickerProps { /** Sets the Name of the Datepicker Field */ name: string; /** Sets an Id for the Datepicker, if not passed, the id will be the name */ id?: string; /** Sets the main Label for the Datepicker */ label?: ReactNode; /** Sets a hint text after/below the Datepicker */ hint?: ReactNode; /** Sets the Placeholder text */ placeholder?: string; /** Sets the Datepicker as requierd, if label is passed, an * is added to the end of the main label. Validation will only work if you pass the required() method in the yup validation schema */ required?: boolean; } export declare const DatePicker: FC; declare const _default: React.ElementType; export default _default;