import { Border } from '../LczCalendar/type'; export interface ColorConfig { colorString: any; } export interface TextStyle { fontFamily: string; fontSize: number; color: ColorConfig; fontWeight: any; letterSpacing?: number | string; italics?: boolean; } interface SweepThrough { display?: boolean; sweepStatus?: boolean; bgColor?: ColorConfig; isAnimat?: boolean; } export interface Shadow { display: boolean; color: string; xOffSet: number; yOffSet: number; vague: number; extend: number; } export interface BgConfig { display: boolean; range: 'full' | 'self-adaption'; padding?: { x: number; y: number; }; bgStyle?: { display: boolean; color: any; imgUrl: string; }; border?: Border; radius: number; } type dataMap = { value: string; }; export interface NormalTitleProps { w?: number; h?: number; textStyle?: TextStyle; padding?: { x: number; y: number; }; ellipsis?: boolean; horizon?: string; writingMode?: 'horizontal-tb' | 'vertical-rl'; vertical?: string; defaultValue?: string; value?: string; sweepThrough?: SweepThrough; outShadow?: Shadow; bgConfig?: BgConfig; data?: dataMap[]; onClick?: any; onDataChange?: any; } export {};