import { MenuButtonProps } from '@alifd/next/types/menu-button'; import { ButtonProps } from '@alifd/next/types/button'; export interface BreadcrumbDataSourceType { content: any; link?: string; id: string; onClick?: (item: BreadcrumbDataSourceType) => void; } export interface LinkDataSourceType { icon?: IconDataSourceType; iconScriptUrl?: string; iconType?: string; content?: any; link?: string; onClick?: () => void; } export interface DataOverAllType { count?: number; isUrgent?: boolean; content?: any; } export interface IconDataSourceType { id?: string; type: string; size?: number | 'small' | 'xxs' | 'xs' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | 'inherit'; scriptUrl?: string; onClick?: () => void; className?: string; } export interface TagDataSourceType { id: string; type?: 'normal' | 'primary'; color?: string; content?: any; tagProps?: any; } export interface CommonDataSourceType { label: string; value: string | number; } export interface SelectDataSourceType { id: string; label?: string; placeholder?: string; dataSource: CommonDataSourceType[]; useTriangleUI?: boolean; triangleContent?: string; menuButtonProps?: MenuButtonProps; } export interface ButtonDataSourceType { id: string; content: any; type?: 'normal' | 'primary' | 'secondary'; buttonProps?: ButtonProps; onClick?: () => void; buttonGroup?: ButtonDataSourceButtonGroupType[]; menuButtonProps?: MenuButtonProps; icon?: string; } export interface ButtonDataSourceButtonGroupType { content: any; onClick?: (id: string) => void; id: string; }