import React from 'react'; export interface DatePickerPropsType { value?: Date; mode?: 'datetime' | 'date' | 'year' | 'month' | 'time'; minDate?: Date; maxDate?: Date; onChange?: (value: Date) => void; onValueChange?: (vals: any, index: number) => void; visible?: boolean; onDismiss?: () => void; locale?: { okText: string; dismissText: string; extra: string; DatePickerLocale: { year: string; month: string; day: string; hour: string; minute: string; am?: string; pm?: string; }; }; minuteStep?: number; disabled?: boolean; format?: string | ((value: Date) => string); extra?: string; children?: React.ReactNode; /** React.ReactElement only for web */ dismissText?: JSX.Element; /** React.ReactElement only for web */ okText?: JSX.Element; title?: JSX.Element; }