We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e60d7c commit 4cdda53Copy full SHA for 4cdda53
components/config-provider/index.tsx
@@ -74,7 +74,7 @@ const setGlobalConfig = (params: GlobalConfigProviderProps & { theme?: Theme })
74
Object.assign(globalConfigBySet, reactive(params));
75
});
76
if (params.theme) {
77
- registerTheme(getGlobalPrefixCls(), params.theme);
+ registerTheme(params.prefixCls ?? getGlobalPrefixCls(), params.theme);
78
}
79
};
80
0 commit comments