import { TooltipPlacement } from 'antd/lib/tooltip'; export interface AttrType { data?: { min: number; max: number; initMin: number; initMax: number; step: number; }; ordinary: { picker: PickerKeyType; dateFormat: string; railBorderRadius: number; railBgColor: string; trackColorLinear: boolean; trackBgColor1?: string; trackBgColor2?: string; trackBgColor: string; handleSize: number; isCustomHandle: boolean; customHandle: string; handleBGColor: string; handleType: string; handleRadius: number; handleBorderSize: number; handleColor: string; tooltipPlacement: TooltipPlacement; tooltipVisible: boolean; tooltipPadding?: number; tooltipWidth?: number; tooltipHeight?: number; tooltipBGColor?: string; tooltipRadius?: number; tooltipFonts?: FontType; }; size: { height: number; width: number; }; id: string; } export type TimeType = Record; type PickerKeyType = 'day' | 'month' | 'year'; type PickerValueType = 'days' | 'months' | 'years'; type FontType = { color: string; fontFamily: string; fontWeight: string; fontSize: number; };