We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfde19d commit d463dbcCopy full SHA for d463dbc
src/components/config-provider/config-provider.tsx
@@ -48,6 +48,12 @@ type Config = {
48
}
49
export const defaultPrefixCls = 'adm'
50
51
+const getPrefixCls = (suffixCls?: string, customizePrefixCls?: string) => {
52
+ if (customizePrefixCls) {
53
+ return customizePrefixCls
54
+ }
55
+ return suffixCls ? `${defaultPrefixCls}-${suffixCls}` : defaultPrefixCls
56
+}
57
export const defaultConfigRef: {
58
current: Config
59
} = {
0 commit comments