import { Component } from 'vue'; import { iconPresets } from './Icon.const'; export type IconPresetsType = keyof typeof iconPresets; export interface IconProps { /** * string类型,仅能填写预设icon名称; component类型,从'lucide-vue-next'导入 */ name: IconPresetsType | Component | string; size?: number | string; color?: string; strokeWidth?: number; }