13 lines
383 B
JavaScript
13 lines
383 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
/**
|
|
* This hook is only for cssVar to add root className for components.
|
|
* If root ClassName is needed, this hook could be refactored with `-root`
|
|
* @param prefixCls
|
|
*/
|
|
const useCSSVarCls = prefixCls => `${prefixCls}-css-var`;
|
|
var _default = exports.default = useCSSVarCls; |