import type { BadgeObject, BaseSchema, FormBaseControlSchema, FormControlProps, SchemaBoolean, SchemaTpl } from '../types'; /** * 图标选择器 * */ export interface IconPickerControlSchema extends FormBaseControlSchema { type: 'icon-picker'; } export interface IconPickerProps extends FormControlProps { placeholder?: string; resetValue?: any; noDataTip?: string; clearable?: boolean; } /** * Icon 图表组件 * */ export interface IconSchema extends BaseSchema { type: 'icon'; /** * 按钮类型 */ icon: SchemaTpl | Record; title?: string; label?: SchemaTpl; /** * 角标 */ badge?: BadgeObject; }