"use strict";

exports.__esModule = true;
exports.defaultPrefixCls = exports.defaultIconPrefixCls = exports.default = exports.INITIAL_STATE = void 0;

var _react = require("react");

var _utils = require("../utils");

var _locale = require("../locale");

var defaultPrefixCls = 'rv';
exports.defaultPrefixCls = defaultPrefixCls;
var defaultIconPrefixCls = 'van-icon';
exports.defaultIconPrefixCls = defaultIconPrefixCls;
var INITIAL_STATE = {
  prefixCls: defaultPrefixCls,
  locale: _locale.zhCN,
  createNamespace: function createNamespace(name, prefix) {
    return (0, _utils.createNamespace)(name, prefix);
  }
};
exports.INITIAL_STATE = INITIAL_STATE;
var ConfigProvider = /*#__PURE__*/(0, _react.createContext)(INITIAL_STATE);
var _default = ConfigProvider;
exports.default = _default;