We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b258de commit db86ef2Copy full SHA for db86ef2
src/common/className.ts
@@ -7,6 +7,6 @@ import { APP_PREFIX } from 'mo/common/const';
7
* @param name Default class name
8
* @param prefix The prefix of class name you want to append
9
*/
10
-export function prefixClaName(name: string | Symbol, prefix: string | Symbol = APP_PREFIX ) {
+export function prefixClaName(name: string, prefix: string = APP_PREFIX ) {
11
return name ? `${prefix}-${name}` : '';
12
}
0 commit comments