export interface DatePickerDialogProps { /** * The value of the date picker. */ value?: Date; /** * The minimum date of the date picker. */ minDate?: Date; /** * The maximum date of the date picker. */ maxDate?: Date; /** * The function to call when the date is changed. */ onChange: (date: Date) => void; /** * The test ID of the date picker. */ testID?: string; /** * Whether the dialog is open */ open: boolean; /** * The function to call when the dialog is closed. */ onClose: () => void; /** * The variant of the date picker. */ variant?: 'default' | 'month-year'; /** * [iOS only] The label of the DatePicker bottom sheet. */ label: string; /** * [iOS only] The confirm label of the date picker bottom sheet. */ confirmLabel: string; /** * [iOS only] The supported orientations of the date picker. */ supportedOrientations?: ('portrait' | 'landscape')[]; /** * [iOS only] The locale of the date picker. */ locale?: string; }