cs
This commit is contained in:
4
node_modules/@ant-design/cssinjs-utils/es/util/getCompVarPrefix.js
generated
vendored
Normal file
4
node_modules/@ant-design/cssinjs-utils/es/util/getCompVarPrefix.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
var getCompVarPrefix = function getCompVarPrefix(component, prefix) {
|
||||
return "".concat([prefix, component.replace(/([A-Z]+)([A-Z][a-z]+)/g, '$1-$2').replace(/([a-z])([A-Z])/g, '$1-$2')].filter(Boolean).join('-'));
|
||||
};
|
||||
export default getCompVarPrefix;
|
||||
Reference in New Issue
Block a user