diff --git a/packages-user/client-modules/src/render/components/icons.tsx b/packages-user/client-modules/src/render/components/icons.tsx index 6c6e288..a8926cf 100644 --- a/packages-user/client-modules/src/render/components/icons.tsx +++ b/packages-user/client-modules/src/render/components/icons.tsx @@ -63,7 +63,13 @@ function adjustPath( }; } -function defineIcon( +/** + * 定义一个描边图标 + * @param aspect 图标的宽高比 + * @param pathDef 图标的路径定义函数 + * @param props 图标组件定义的参数配置 + */ +export function defineIcon( aspect: number, pathDef: PathFn, props: SetupComponentOptions = iconsProps