Skip to content

Commit 4e75894

Browse files
author
刘欢
committed
feat: default getPrefixCls
1 parent 04e9408 commit 4e75894

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/components/config-provider/config-provider.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ type Config = {
4848
}
4949
export const defaultPrefixCls = 'adm'
5050

51-
const getPrefixCls = (suffixCls?: string, customizePrefixCls?: string) => {
52-
if (customizePrefixCls) {
53-
return customizePrefixCls
54-
}
55-
return suffixCls ? `${defaultPrefixCls}-${suffixCls}` : defaultPrefixCls
56-
}
5751
export const defaultConfigRef: {
5852
current: Config
5953
} = {

0 commit comments

Comments
 (0)