UNPKG

@alitajs/antd-plus

Version:

基于 ant-design 封装的偏业务组件

18 lines (15 loc) 556 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConfigConsumer = exports.ConfigContext = void 0; var _react = require("react"); var ConfigContext = /*#__PURE__*/(0, _react.createContext)({ getPrefixCls: function getPrefixCls(suffixCls, customizePrefixCls) { if (customizePrefixCls) return customizePrefixCls; return suffixCls ? "ant-plus-".concat(suffixCls) : 'ant-plus'; } }); exports.ConfigContext = ConfigContext; var ConfigConsumer = ConfigContext.Consumer; exports.ConfigConsumer = ConfigConsumer;