import * as LucideIcons from 'lucide-react'; import type { LucideProps } from 'lucide-react'; import type { ComponentPropsWithoutRef } from 'react'; export type LucideIconName = keyof typeof LucideIcons; export type AntdLucideIconProps = { /** lucide 图标名称(自动提示所有可选值) */ name: LucideIconName; /** 尺寸(默认 1em 对齐 antd,支持数字/字符串) */ size?: number | string; /** 线条粗细(默认 2 对齐 antd Outlined) */ strokeWidth?: number; /** 颜色(默认继承父元素 currentColor) */ color?: string; } & Omit & ComponentPropsWithoutRef<'svg'>;