exports.ids = [10];
exports.modules = {

/***/ 125:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return MDXContent; });
/* harmony import */ var _temp_rhlConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(115);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81);
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; }





/* @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_2__[/* mdx */ "b"])("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_2__[/* mdx */ "b"])(MDXLayout, _extends({}, layoutProps, props, {
    components: components,
    mdxType: "MDXLayout"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("h1", {
    "className": "__internal",
    "id": "global-components"
  }, "Global Components", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "h1"
  }, {
    "href": "#global-components",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("blockquote", null, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("p", {
    parentName: "blockquote"
  }, "You can set up a global component that can be referenced directly anywhere in the markdown")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("h2", {
    "className": "__internal",
    "id": "how-to-set-up"
  }, "How to set up?", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "h2"
  }, {
    "href": "#how-to-set-up",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("p", null, "Create a new file with the path: ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("inlineCode", {
    parentName: "p"
  }, ".rcpress/globalComponent.js"), ". Import the global component you want to set and export a default Object. E.g:"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("div", {
    "className": "rcpress-highlight",
    "data-language": "js"
  }, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("pre", _extends({
    parentName: "div"
  }, {
    "className": "language-js"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("code", _extends({
    parentName: "pre"
  }, {
    "className": "language-js"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "import"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "{"), " Alert", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ","), " Button", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ","), " Switch ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "}"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "from"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token string"
  }), "'antd'"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ";"), "\n", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "export"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "default"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "{"), "\n  Alert", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ","), "\n  Button", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ","), "\n  Switch\n", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "}"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ";")))), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("p", null, "At this time, you can use it directly in ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("inlineCode", {
    parentName: "p"
  }, "markdown"), "."), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])(Button, {
    mdxType: "Button"
  }, "Global component"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("br", null), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])(Switch, {
    defaultChecked: true,
    style: {
      marginTop: '15px'
    },
    mdxType: "Switch"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("br", null), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])(Alert, {
    message: "success",
    style: {
      marginTop: '15px'
    },
    description: "Successful use of global components",
    type: "success",
    showIcon: true,
    mdxType: "Alert"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("h2", {
    "className": "__internal",
    "id": "default-global-component"
  }, "Default global component", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "h2"
  }, {
    "href": "#default-global-component",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("h3", {
    "className": "__internal",
    "id": "sitecustomer"
  }, "SiteCustomer", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "h3"
  }, {
    "href": "#sitecustomer",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("div", {
    "className": "rcpress-highlight",
    "data-language": "js"
  }, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("pre", _extends({
    parentName: "div"
  }, {
    "className": "language-js"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("code", _extends({
    parentName: "pre"
  }, {
    "className": "language-js"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), "<"), "SiteCustomer", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), ">"), "\n  ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "{"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token parameter"
  }), "ctx"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), "=>"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "{"), "\n    ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token keyword"
  }), "return"), " ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token template-string"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token template-punctuation string"
  }), "`"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token string"
  }), "Current page path (not including base): "), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token interpolation"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token interpolation-punctuation punctuation"
  }), "${"), "ctx", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token punctuation"
  }), "."), "path", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token interpolation-punctuation punctuation"
  }), "}")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "span"
  }, {
    "className": "token template-punctuation string"
  }), "`")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), ";"), "\n  ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "}"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token punctuation"
  }), "}"), "\n", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), "<"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), "/"), "SiteCustomer", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", _extends({
    parentName: "code"
  }, {
    "className": "token operator"
  }), ">")))), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])(SiteCustomer, {
    mdxType: "SiteCustomer"
  }, function (ctx) {
    return "Current page path (not including base): ".concat(ctx.path);
  }));
}
;
MDXContent.isMDXComponent = true;
MDXContent = MDXContent;

/***/ })

};;
//# sourceMappingURL=10.server-bundle.js.map