"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ConfigContext = void 0;
var _react = _interopRequireDefault(require("react"));
const ConfigContext = /*#__PURE__*/_react.default.createContext({
  // We provide a default function for Context without provider
  getPrefixCls: (suffixCls, customizePrefixCls) => {
    if (customizePrefixCls) return customizePrefixCls;
    return suffixCls ? `wii-${suffixCls}` : 'wii';
  }
});
exports.ConfigContext = ConfigContext;