exports.ids = ["zh/guide/global-component.md"];
exports.modules = {

/***/ "./docs/zh/guide/global-component.md":
/*!*******************************************!*\
  !*** ./docs/zh/guide/global-component.md ***!
  \*******************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* WEBPACK VAR INJECTION */(function(module) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return MDXContent; });
/* harmony import */ var react_hot_loader__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-hot-loader */ "../../node_modules/react-hot-loader/index.js");
/* harmony import */ var react_hot_loader__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_hot_loader__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _temp_rhlConfig__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @temp//rhlConfig */ "../@rcpress/core/.temp/rhlConfig.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mdx-js/react */ "../../node_modules/@mdx-js/react/dist/esm.js");
(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal["default"].signature : function (a) {
  return a;
};





/* @jsx mdx */

var makeShortcode = function makeShortcode(name) {
  return function MDXDefaultShortcode(props) {
    console.warn("Component " + name + " was not imported, exported, or provided by MDXProvider as global scope");
    return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("div", props);
  };
};

var Button = makeShortcode("Button");
var Switch = makeShortcode("Switch");
var Alert = makeShortcode("Alert");
var SiteCustomer = makeShortcode("SiteCustomer");
var layoutProps = {};
var MDXLayout = "wrapper";
function MDXContent(_ref) {
  var components = _ref.components,
      props = _objectWithoutProperties(_ref, ["components"]);

  return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])(MDXLayout, _extends({}, layoutProps, props, {
    components: components,
    mdxType: "MDXLayout"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("h1", {
    "className": "__internal",
    "id": "全局组件"
  }, "\u5168\u5C40\u7EC4\u4EF6", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("a", _extends({
    parentName: "h1"
  }, {
    "href": "#%E5%85%A8%E5%B1%80%E7%BB%84%E4%BB%B6",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("blockquote", null, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("p", {
    parentName: "blockquote"
  }, "\u4F60\u53EF\u4EE5\u8BBE\u7F6E\u4E00\u4E2A\u5168\u5C40\u7EC4\u4EF6\uFF0C\u8FD9\u4E2A\u5168\u5C40\u7EC4\u4EF6\u80FD\u5728 markdown \u7684\u4EFB\u4F55\u4F4D\u7F6E\u76F4\u63A5\u5F15\u7528")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("h2", {
    "className": "__internal",
    "id": "如何设置？"
  }, "\u5982\u4F55\u8BBE\u7F6E\uFF1F", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("a", _extends({
    parentName: "h2"
  }, {
    "href": "#%E5%A6%82%E4%BD%95%E8%AE%BE%E7%BD%AE%EF%BC%9F",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("p", null, "\u65B0\u5EFA\u4E00\u4E2A\u6587\u4EF6\uFF0C\u8DEF\u5F84\u4E3A\uFF1A ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("inlineCode", {
    parentName: "p"
  }, ".rcpress/globalComponent.js"), "\u3002\u5728\u91CC\u9762\u5BFC\u5165\u4F60\u60F3\u8BBE\u7F6E\u7684\u5168\u5C40\u7EC4\u4EF6\uFF0C\u5BFC\u51FA\u4E00\u4E2A\u9ED8\u8BA4\u7684 Object \u5373\u53EF\u3002\u4F8B\u5982\uFF1A"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("div", {
    "className": "rcpress-highlight",
    "data-language": "js"
  }, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("pre", _extends({
    parentName: "div"
  }, {
    "className": "language-js"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("code", _extends({
    parentName: "pre"
  }, {
    "className": "language-js"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "import"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "{"), " Alert", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ","), " Button", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ","), " Switch ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "}"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "from"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token string"
  }), "'antd'"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ";"), "\n", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "export"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "default"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "{"), "\n  Alert", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ","), "\n  Button", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ","), "\n  Switch\n", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "}"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ";")))), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("p", null, "\u8FD9\u65F6\u5019\uFF0C\u4F60\u53EF\u4EE5\u5728", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("inlineCode", {
    parentName: "p"
  }, "markdown"), "\u4E2D\u76F4\u63A5\u4F7F\u7528\u4E86\u3002"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])(Button, {
    mdxType: "Button"
  }, "\u5168\u5C40\u7EC4\u4EF6"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("br", null), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])(Switch, {
    defaultChecked: true,
    style: {
      marginTop: '15px'
    },
    mdxType: "Switch"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("br", null), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])(Alert, {
    message: "\u6210\u529F",
    style: {
      marginTop: '15px'
    },
    description: "\u6210\u529F\u4F7F\u7528\u5168\u5C40\u7EC4\u4EF6",
    type: "success",
    showIcon: true,
    mdxType: "Alert"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("h2", {
    "className": "__internal",
    "id": "默认的全局组件"
  }, "\u9ED8\u8BA4\u7684\u5168\u5C40\u7EC4\u4EF6", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("a", _extends({
    parentName: "h2"
  }, {
    "href": "#%E9%BB%98%E8%AE%A4%E7%9A%84%E5%85%A8%E5%B1%80%E7%BB%84%E4%BB%B6",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("h3", {
    "className": "__internal",
    "id": "sitecustomer"
  }, "SiteCustomer", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("a", _extends({
    parentName: "h3"
  }, {
    "href": "#sitecustomer",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("div", {
    "className": "rcpress-highlight",
    "data-language": "js"
  }, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("pre", _extends({
    parentName: "div"
  }, {
    "className": "language-js"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("code", _extends({
    parentName: "pre"
  }, {
    "className": "language-js"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), "<"), "SiteCustomer", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), ">"), "\n  ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "{"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token parameter"
  }), "ctx"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), "=>"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "{"), "\n    ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "return"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token template-string"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token template-punctuation string"
  }), "`"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token string"
  }), "\u5F53\u524D\u9875\u9762\u8DEF\u5F84(\u4E0D\u5305\u542Bbase)\uFF1A "), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token interpolation"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token interpolation-punctuation punctuation"
  }), "${"), "ctx", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token punctuation"
  }), "."), "path", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token interpolation-punctuation punctuation"
  }), "}")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token template-punctuation string"
  }), "`")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ";"), "\n  ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "}"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "}"), "\n", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), "<"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), "/"), "SiteCustomer", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), ">")))), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_3__["mdx"])(SiteCustomer, {
    mdxType: "SiteCustomer"
  }, function (ctx) {
    return "\u5F53\u524D\u9875\u9762\u8DEF\u5F84(\u4E0D\u5305\u542Bbase)\uFF1A ".concat(ctx.path);
  }));
}
;
MDXContent.isMDXComponent = true;
MDXContent = Object(react_hot_loader__WEBPACK_IMPORTED_MODULE_0__["hot"])(module)(MDXContent);
;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(makeShortcode, "makeShortcode", "/Users/wangyi/Desktop/opensource/rcpress/packages/docs/docs/zh/guide/global-component.md");
  reactHotLoader.register(Button, "Button", "/Users/wangyi/Desktop/opensource/rcpress/packages/docs/docs/zh/guide/global-component.md");
  reactHotLoader.register(Switch, "Switch", "/Users/wangyi/Desktop/opensource/rcpress/packages/docs/docs/zh/guide/global-component.md");
  reactHotLoader.register(Alert, "Alert", "/Users/wangyi/Desktop/opensource/rcpress/packages/docs/docs/zh/guide/global-component.md");
  reactHotLoader.register(SiteCustomer, "SiteCustomer", "/Users/wangyi/Desktop/opensource/rcpress/packages/docs/docs/zh/guide/global-component.md");
  reactHotLoader.register(layoutProps, "layoutProps", "/Users/wangyi/Desktop/opensource/rcpress/packages/docs/docs/zh/guide/global-component.md");
  reactHotLoader.register(MDXLayout, "MDXLayout", "/Users/wangyi/Desktop/opensource/rcpress/packages/docs/docs/zh/guide/global-component.md");
  reactHotLoader.register(MDXContent, "MDXContent", "/Users/wangyi/Desktop/opensource/rcpress/packages/docs/docs/zh/guide/global-component.md");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../node_modules/webpack/buildin/harmony-module.js */ "../../node_modules/webpack/buildin/harmony-module.js")(module)))

/***/ })

};;
//# sourceMappingURL=global-component.md.server-bundle.js.map