export interface TextStyle { fontFamily: string; fontSize: number; color?: string; fontWeight: any; letterSpacing: number; } export interface DateRange { startType?: string; startDate?: string; endType?: string; endDate?: string; } export interface GlobalStyle { pickerType?: 'data' | 'month'; fontFamily: string; letterSpacing: number; dateRange?: DateRange; } export interface TextBoxBorder { display: boolean; borderColor?: string; borderWidth?: number; borderRadius?: number | string; boxHoverBorderC?: string; boxFocusBorderC?: string; } export interface BoxIcon { display: boolean; boxIconSize?: number; boxIconColor?: string; boxIconSpac?: number; boxIconOffSetLeft?: number; } export interface BoxTextStyle { fontSize?: number; color?: string; fontWeight?: any; } export interface ClearIcon { display: boolean; iconSize?: number; color?: string; rightOffSet?: number; } export interface TextBoxConfig { boxBgColor?: string; textBoxBorder?: TextBoxBorder; dateSymbol?: string; boxTextStyle?: BoxTextStyle; textAlign?: string; boxIcon?: BoxIcon; clearIcon?: ClearIcon; } export interface YearsStyle { fontSize: number; color?: string; fontWeight: any; } export interface DateStyle { fontSize: number; color?: string; fontWeight: any; divisionColor?: string; divisionWidth?: number | string; focusTextColor?: string; focusBgcolor?: string; } export interface DatePickerConfig { pickerTopOffset?: number; pickerAlign?: 'left' | 'right'; pickerLeftOffset?: number; pickerBgColor?: string; pickerBorderColor?: string; pickerBorderWidth?: number | string; PickerRadius?: number | string; dataYearsStyle?: YearsStyle; dataDateStyle?: DateStyle; monthYearsStyle?: YearsStyle; monthDateStyle?: DateStyle; } type dataMap = { date: string | number; startdate: string; enddate: string; }; interface Mobile { adapter: boolean; } export interface DatePickerProps { defaultValue?: string; globalStyle?: GlobalStyle; textBoxConfig?: TextBoxConfig; datePickerConfig?: DatePickerConfig; placeholder?: string; data?: dataMap[]; onChange?: any; mobileConfig?: Mobile; } export {};