/**
* DateField — a date-only input built on native .
*
* Replaces `` for the library's own call sites
* (SetReminderModal, EmailComposer) so that core no longer depends on
* @syncfusion/ej2-react-calendars.
*
* Note this is NOT the same thing as the existing `DatePicker` component:
* that one wraps react-tailwindcss-datepicker and emits `{ startDate, endDate }`,
* which is not the shape these call sites consume. This one keeps
* CustomDatePicker's contract — `onChange({ value, event })` with `value` a
* Date or null — so call sites change only their import and drop `mode`.
*/
export function DateField({ value, onChange, label, id, placeholder, disabled, readOnly, required, min, max, errorMessage, width, className, ariaLabel, ariaLabelledBy, ariaDescribedBy, onBlur, testIdPrefix, ...rest }: {
[x: string]: any;
value: any;
onChange: any;
label: any;
id: any;
placeholder: any;
disabled?: boolean;
readOnly?: boolean;
required?: boolean;
min: any;
max: any;
errorMessage: any;
width: any;
className?: string;
ariaLabel: any;
ariaLabelledBy: any;
ariaDescribedBy: any;
onBlur: any;
testIdPrefix: any;
}): React.JSX.Element;
export namespace DateField {
let propTypes: {
value: any;
onChange: any;
label: any;
id: any;
placeholder: any;
disabled: any;
readOnly: any;
required: any;
min: any;
max: any;
errorMessage: any;
width: any;
className: any;
ariaLabel: any;
ariaLabelledBy: any;
ariaDescribedBy: any;
onBlur: any;
testIdPrefix: any;
"data-testid": any;
};
}
import React from "react";