export interface TextStyle { fontFamily?: string; fontSize?: number; color?: string; fontWeight?: any; letterSpacing?: number | string; } export interface TabsOptions { id: number; content: string; } export interface GlobalTextStyle { fontFamily: string; letterSpacing?: number | string; } export interface GlobalConfig { tabType?: string; rollWidthOrHeight?: number; arrangement?: string; tabPosition?: string; spacing?: number; tabBgColor?: string; alignType?: string; textStyle?: GlobalTextStyle; } export interface OrdTextConfig { fontFamily?: string; fontSize?: number; color?: string; fontWeight?: any; } export interface ContentBoxConfig { width?: number; height?: number; topOffset?: number; boxBackground?: string; boxBorderColor?: string; boxBderWidth?: number; boxBorderRadius?: number; } export interface OrdStyleConfig { ordTextConfig?: TextStyle; backgroundColor?: string; borderColor?: string; borderWidth?: number; borderRadius?: number; ordTextHover?: TextStyle; HoverbackgroundColor?: string; HoverborderColor?: string; HoverborderWidth?: number; } export interface FocusTextConfig { focusBgColor?: string; focusBorderColor?: string; focusBorderWidth?: number; focusBorderRadius?: number; } export interface GlideLine { display?: boolean; bgColor?: string; width?: number; } export interface FocusStyleConfog { focusTextConfig?: TextStyle; focusBgColor?: string; focusBorderColor?: string; focusBorderWidth?: number; focusBorderRadius?: number; focusTextHover?: TextStyle; focusHoverBgColor?: string; focusHoverBorderColor?: string; focusHoverBorderWidth?: number; glideLine?: GlideLine; } export interface TabCarousel { isOpen?: boolean; interval?: number; } export interface TabsConfig { globalConfig?: GlobalConfig; ordStyleConfig?: OrdStyleConfig; focusStyleConfig?: FocusStyleConfog; } export interface TabsProps { tabCarousel?: TabCarousel; defaultValue?: number; defaultData?: TabsOptions[]; tabsConfig?: TabsConfig; ordcontentBoxConfig?: ContentBoxConfig; data?: any; onChange?: any; onClick?: any; onDataChange?: any; }