import { DatePickerProps } from '../../DatePicker'; import { TextFieldBaseProps } from '../Base'; export interface TextFieldDateProps extends TextFieldBaseProps { /** * The date to show in the input when used as controlled */ readonly date?: Date; /** * The default date to show in the input when used as uncontrolled */ readonly defaultDate?: Date; /** * All props passed to DatePicker without date and date range related props */ readonly datePickerProps?: Omit; /** * Handler with the new selected date */ readonly onDateChange?: (date?: Date) => void; }