Skip to content

Commit 76ac218

Browse files
committed
chore: createDesign 注释
1 parent 24d1bd3 commit 76ac218

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hooks/create-design/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
// 或者叫 createNamespace
12
export function createDesign(scope: string) {
23
return {
3-
prefixCls: scope, // 前缀示例:'pg'页面、'cmp'组件、'pub'公共组件
4+
prefixCls: scope, // 前缀示例:'pg'页面、'comp'组件、'pub'公共组件,如 'pg-home'
45
};
56
}

0 commit comments

Comments
 (0)