mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-07-25 00:01:47 +08:00
chore: 给 defineIcon 添加注释
This commit is contained in:
parent
ebe48eab8f
commit
f1140d5a90
@ -63,7 +63,13 @@ function adjustPath(
|
||||
};
|
||||
}
|
||||
|
||||
function defineIcon<T extends IconsProps>(
|
||||
/**
|
||||
* 定义一个描边图标
|
||||
* @param aspect 图标的宽高比
|
||||
* @param pathDef 图标的路径定义函数
|
||||
* @param props 图标组件定义的参数配置
|
||||
*/
|
||||
export function defineIcon<T extends IconsProps>(
|
||||
aspect: number,
|
||||
pathDef: PathFn,
|
||||
props: SetupComponentOptions<T> = iconsProps
|
||||
|
Loading…
Reference in New Issue
Block a user