text: (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"./docs-site/mdx/components/button.mdx":function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return m});var o=n("./node_modules/react/index.js"),r=n.n(o),i=n("./node_modules/@mdx-js/tag/dist/index.js"),c=n("./node_modules/docz/dist/index.m.js"),a=n("./packages/core/lib/index.es.js");function s(e){return(s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,f(t).call(this,e))).layout=null,n}var n,o,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,r.a.Component),n=t,(o=[{key:"render",value:function(){var e=this.props,t=e.components,n=u(e,["components"]);return r.a.createElement(i.MDXTag,{name:"wrapper",components:t},r.a.createElement(i.MDXTag,{name:"h1",components:t,props:{id:"button"}},"Button"),r.a.createElement(i.MDXTag,{name:"h2",components:t,props:{id:"\u5c5e\u6027"}},"\u5c5e\u6027"),r.a.createElement(c.f,{of:a.a}),r.a.createElement(i.MDXTag,{name:"h2",components:t,props:{id:"\u57fa\u672c\u7528\u6cd5"}},"\u57fa\u672c\u7528\u6cd5"),r.a.createElement(c.e,{__position:1,__code:'<Button text="Second Button" />',__scope:{props:this?this.props:n,Button:a.a}},r.a.createElement(a.a,{text:"Second Button"})),r.a.createElement(c.e,{__position:2,__code:'() => <Button text="Third Button" />',__scope:{props:this?this.props:n,Button:a.a}},function(){return r.a.createElement(a.a,{text:"Third Button"})}),r.a.createElement(c.e,{__position:3,__code:"() => {\n  const text = 'My Button'\n  return (\n    <div>\n      <Button text={text} />\n      <Button text={text} />\n    </div>\n  )\n}",__scope:{props:this?this.props:n,Button:a.a}},function(){return r.a.createElement("div",null,r.a.createElement(a.a,{text:"My Button"}),r.a.createElement(a.a,{text:"My Button"}))}))}}])&&p(n.prototype,o),s&&p(n,s),t}();m.__docgenInfo={description:"",methods:[],displayName:"MDXContent"}},"./packages/core/lib/index.es.js":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n("./node_modules/react/index.js"),r=n.n(o);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function c(){var e,t,n=(e=["\n  background: #fff;\n  padding: 5px 10px;\n  border: solid 1px #b20b0b;\n  border-radius: 30px;\n  outline:none;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return c=function(){return n},n}var a=n("./packages/core/node_modules/styled-components/dist/styled-components.browser.esm.js").a.button(c()),s=function(e){return r.a.createElement(a,i({},e,{onClick:e.onClick}),e.text)};s.__docgenInfo={description:"",methods:[],displayName:"Button",props:{text:{type:{name:"string"},required:!1,description:"\u6309\u94ae\u7684\u503c"},className:{type:{name:"string"},required:!1,description:"\u539f\u751fclass"}}}}}]);
  //# sourceMappingURL=mdx-components-button.90545bbdd878561515ad.js.map