import { TooltipPlacement } from 'antd/lib/tooltip'; export interface AttrType { ordinary: { min: number; max: number; step: number; 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; tooltipPrefix?: string; tooltipSuffix?: string; tooltipWidth?: number; tooltipHeight?: number; tooltipBGColor?: string; tooltipRadius?: number; tooltipFonts?: FontType; }; size: { height: number; width: number; }; id: string; } type FontType = { color: string; fontFamily: string; fontWeight: string; fontSize: number; };