@fle-ui/next 1.0.0-alpha.12 → 1.0.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/.history/package_20211011190148.json +141 -0
  2. package/.history/package_20211011193053.json +141 -0
  3. package/dist/@fle-ui/next.css +2 -2
  4. package/dist/@fle-ui/next.css.map +1 -1
  5. package/dist/@fle-ui/next.js +1 -1
  6. package/dist/@fle-ui/next.min.css +2 -2
  7. package/dist/@fle-ui/next.min.css.map +1 -1
  8. package/dist/@fle-ui/next.min.js +1 -1
  9. package/docs-dist/components__affix__affix.md.js +701 -1
  10. package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
  11. package/docs-dist/components__alert__alert.md.js +942 -1
  12. package/docs-dist/components__anchor__anchor.md.js +789 -1
  13. package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
  14. package/docs-dist/components__avatar__avatar.md.js +854 -1
  15. package/docs-dist/components__back-top__backTop.md.js +581 -1
  16. package/docs-dist/components__badge__badge.md.js +972 -1
  17. package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
  18. package/docs-dist/components__button__button.md.js +1037 -1
  19. package/docs-dist/components__calendar__calendar.md.js +897 -1
  20. package/docs-dist/components__card__card.md.js +1106 -1
  21. package/docs-dist/components__carousel__carousel.md.js +770 -1
  22. package/docs-dist/components__cascader__cascader.md.js +1378 -1
  23. package/docs-dist/components__checkbox__checkbox.md.js +876 -1
  24. package/docs-dist/components__collapse__collapse.md.js +959 -1
  25. package/docs-dist/components__comment__comment.md.js +586 -1
  26. package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
  27. package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
  28. package/docs-dist/components__descriptions__descriptions.md.js +863 -1
  29. package/docs-dist/components__divider__divider.md.js +681 -1
  30. package/docs-dist/components__drawer__drawer.md.js +997 -1
  31. package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
  32. package/docs-dist/components__empty__empty.md.js +692 -1
  33. package/docs-dist/components__form__form.md.js +4099 -1
  34. package/docs-dist/components__grid__grid.md.js +999 -1
  35. package/docs-dist/components__icon__icon.md.js +739 -1
  36. package/docs-dist/components__image__image.md.js +745 -1
  37. package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
  38. package/docs-dist/components__input__input.md.js +1579 -1
  39. package/docs-dist/components__layout__layout.md.js +1220 -1
  40. package/docs-dist/components__list__list.md.js +1255 -1
  41. package/docs-dist/components__mentions__mentions.md.js +943 -1
  42. package/docs-dist/components__menu__menu.md.js +1370 -1
  43. package/docs-dist/components__message__message.md.js +1223 -1
  44. package/docs-dist/components__modal__modal.md.js +1808 -1
  45. package/docs-dist/components__notification__notification.md.js +1192 -1
  46. package/docs-dist/components__page-header__page-header.md.js +781 -1
  47. package/docs-dist/components__pagination__pagination.md.js +954 -1
  48. package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
  49. package/docs-dist/components__popover__popover.md.js +665 -1
  50. package/docs-dist/components__progress__progress.md.js +1139 -1
  51. package/docs-dist/components__radio__radio.md.js +999 -1
  52. package/docs-dist/components__rate__rate.md.js +851 -1
  53. package/docs-dist/components__result__result.md.js +681 -1
  54. package/docs-dist/components__select__select.md.js +2081 -1
  55. package/docs-dist/components__slider__slider.md.js +1053 -1
  56. package/docs-dist/components__space__space.md.js +746 -1
  57. package/docs-dist/components__spin__spin.md.js +730 -1
  58. package/docs-dist/components__statistic__statistic.md.js +827 -1
  59. package/docs-dist/components__steps__steps.md.js +1097 -1
  60. package/docs-dist/components__switch__switch.md.js +763 -1
  61. package/docs-dist/components__table__table.md.js +3692 -1
  62. package/docs-dist/components__tabs__tabs.md.js +1213 -1
  63. package/docs-dist/components__tag__tag.md.js +779 -1
  64. package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
  65. package/docs-dist/components__timeline__timeline.md.js +799 -1
  66. package/docs-dist/components__tooltip__tooltip.md.js +888 -1
  67. package/docs-dist/components__transfer__transfer.md.js +1226 -1
  68. package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
  69. package/docs-dist/components__typography__typography.md.js +1793 -1
  70. package/docs-dist/components__upload__upload.md.js +1798 -1
  71. package/docs-dist/demos_bmurcdaerb.js +603 -1
  72. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
  73. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
  74. package/docs-dist/demos_citsitats.js +549 -1
  75. package/docs-dist/demos_daolpu.chunk.css +1 -1
  76. package/docs-dist/demos_daolpu.js +22680 -1
  77. package/docs-dist/demos_dirg.js +47 -1
  78. package/docs-dist/demos_drac.js +748 -1
  79. package/docs-dist/demos_ecaps.js +529 -1
  80. package/docs-dist/demos_egami.js +153 -1
  81. package/docs-dist/demos_egassem.js +187 -1
  82. package/docs-dist/demos_egdab.js +872 -1
  83. package/docs-dist/demos_elbat.chunk.css +1 -1
  84. package/docs-dist/demos_elbat.js +27626 -1
  85. package/docs-dist/demos_enilemit.js +627 -1
  86. package/docs-dist/demos_espalloc.js +705 -1
  87. package/docs-dist/demos_etar.js +547 -1
  88. package/docs-dist/demos_etelpmoc-otua.js +613 -1
  89. package/docs-dist/demos_gat.js +487 -1
  90. package/docs-dist/demos_hctiws.js +439 -1
  91. package/docs-dist/demos_ladom.js +791 -1
  92. package/docs-dist/demos_lesuorac.js +193 -1
  93. package/docs-dist/demos_mrifnocpop.js +671 -1
  94. package/docs-dist/demos_mrof.js +3082 -1
  95. package/docs-dist/demos_nips.js +461 -1
  96. package/docs-dist/demos_noitacifiton.js +765 -1
  97. package/docs-dist/demos_noitanigap.js +233 -1
  98. package/docs-dist/demos_nottub.js +847 -1
  99. package/docs-dist/demos_nwodpord.js +965 -1
  100. package/docs-dist/demos_oidar.js +340 -1
  101. package/docs-dist/demos_pitloot.js +204 -1
  102. package/docs-dist/demos_pot-kcab.js +62 -1
  103. package/docs-dist/demos_radnelac.js +285 -1
  104. package/docs-dist/demos_ratava.js +647 -1
  105. package/docs-dist/demos_rebmun-tupni.js +209 -1
  106. package/docs-dist/demos_redacsac.js +576 -1
  107. package/docs-dist/demos_redaeh-egap.js +761 -1
  108. package/docs-dist/demos_redils.js +659 -1
  109. package/docs-dist/demos_redivid.js +167 -1
  110. package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
  111. package/docs-dist/demos_refsnart.js +774 -1
  112. package/docs-dist/demos_rekcip-emit.js +183 -1
  113. package/docs-dist/demos_rekcip-etad.js +469 -1
  114. package/docs-dist/demos_revopop.js +335 -1
  115. package/docs-dist/demos_reward.js +484 -1
  116. package/docs-dist/demos_rohcna.js +194 -1
  117. package/docs-dist/demos_sbat.chunk.css +1 -1
  118. package/docs-dist/demos_sbat.js +22358 -1
  119. package/docs-dist/demos_snoitnem.js +202 -1
  120. package/docs-dist/demos_snoitpircsed.js +351 -1
  121. package/docs-dist/demos_spets.js +910 -1
  122. package/docs-dist/demos_ssergorp.js +698 -1
  123. package/docs-dist/demos_tceles.js +1416 -1
  124. package/docs-dist/demos_tluser.js +530 -1
  125. package/docs-dist/demos_tnemmoc.js +560 -1
  126. package/docs-dist/demos_trela.js +341 -1
  127. package/docs-dist/demos_tsil.js +603 -1
  128. package/docs-dist/demos_tuoyal.js +872 -1
  129. package/docs-dist/demos_tupni.js +1245 -1
  130. package/docs-dist/demos_unem.js +1012 -1
  131. package/docs-dist/demos_xiffa.js +93 -1
  132. package/docs-dist/demos_xobkcehc.js +186 -1
  133. package/docs-dist/demos_yhpargopyt.js +798 -1
  134. package/docs-dist/demos_ytpme.js +433 -1
  135. package/docs-dist/docs__document__getting-started.md.js +193 -1
  136. package/docs-dist/docs__document__introduce.md.js +441 -1
  137. package/docs-dist/docs__document__practical-projects.md.js +117 -1
  138. package/docs-dist/docs__index.md.js +27 -1
  139. package/docs-dist/docs__story__index.md.js +89 -1
  140. package/docs-dist/dumi_demos.js +456 -1
  141. package/docs-dist/umi.js +28727 -1
  142. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
  143. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
  144. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
  145. package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
  146. package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
  147. package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
  148. package/docs-dist/vendors~demos_gat.js +4673 -1
  149. package/docs-dist/vendors~demos_ladom.js +1855 -1
  150. package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
  151. package/docs-dist/vendors~demos_sbat.js +1601 -1
  152. package/docs-dist/vendors~demos_trela.js +1722 -1
  153. package/docs-dist/vendors~demos_tsil.js +4970 -1
  154. package/docs-dist/vendors~demos_tuoyal.js +748 -1
  155. package/docs-dist/vendors~wrappers.js +1360 -1
  156. package/docs-dist/wrappers.js +21 -1
  157. package/es/drawer/style/drawer.less +8 -4
  158. package/es/drawer/style/index.css +1 -1
  159. package/es/style/themes/default.less +57 -29
  160. package/lib/drawer/style/drawer.less +8 -4
  161. package/lib/drawer/style/index.css +1 -1
  162. package/lib/style/themes/default.less +57 -29
  163. package/package.json +1 -1
  164. package/report.html +1 -1
@@ -1 +1,1037 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[16],{MZF8:function(e,t,a){"use strict";var n=a("ogwx");a.d(t,"a",(function(){return n["b"]}));a("VCU9")},RZMt:function(e,t,a){},Zxc8:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("k3GJ"),c=a("MZF8"),o=a("dEAq"),m=a("H1Ra");a("RZMt");function u(e,t){return p(e)||E(e,t)||d(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"===typeof e)return s(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function E(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,l,r=[],c=!0,o=!1;try{for(a=a.call(e);!(c=(n=a.next()).done);c=!0)if(r.push(n.value),t&&r.length===t)break}catch(m){o=!0,l=m}finally{try{c||null==a["return"]||a["return"]()}finally{if(o)throw l}}return r}}function p(e){if(Array.isArray(e))return e}function f(e,t){var a,n=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return n||(n=t.tsx?"tsx":"jsx"),n}var b=function(e){var t,a,i,d=Object(n["useRef"])(),s=Object(n["useContext"])(o["context"]),E=s.locale,p=Object(o["useLocaleProps"])(E,e),b=Object(o["useDemoUrl"])(p.identifier),h=p.demoUrl||b,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(p.identifier),k=1===Object.keys(p.sources).length,g=Object(o["useCodeSandbox"])((null===(t=p.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:p),w=Object(o["useRiddle"])((null===(a=p.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:p),_=Object(o["useMotions"])(p.motions||[],d.current),y=u(_,2),x=y[0],N=y[1],A=Object(o["useCopy"])(),I=u(A,2),L=I[0],j=I[1],O=Object(n["useState"])("_"),C=u(O,2),S=C[0],P=C[1],M=Object(n["useState"])(f(S,p.sources[S])),R=u(M,2),T=R[0],B=R[1],U=Object(n["useState"])(Boolean(p.defaultShowCode)),Z=u(U,2),q=Z[0],z=Z[1],H=Object(n["useState"])(Math.random()),D=u(H,2),F=D[0],J=D[1],$=p.sources[S][T]||p.sources[S].content,G=Object(o["useTSPlaygroundUrl"])(E,$),W=Object(n["useRef"])(),X=Object(o["usePrefersColor"])(),K=u(X,1),Q=K[0];function V(e){P(e),B(f(e,p.sources[e]))}return Object(n["useEffect"])((function(){J(Math.random())}),[Q]),l.a.createElement("div",{style:p.style,className:[p.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:p.identifier,"data-debug":p.debug||void 0,"data-iframe":p.iframe||void 0},p.iframe&&l.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),l.a.createElement("div",{ref:d,className:"__dumi-default-previewer-demo",style:{transform:p.transform?"translate(0, 0)":void 0,padding:p.compact||p.iframe&&!1!==p.compact?"0":void 0,background:p.background}},p.iframe?l.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(p.iframe).replace(/(\d)$/,"$1px")},key:F,src:h,ref:W}):p.children),l.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":p.title},p.title&&l.a.createElement(o["AnchorLink"],{to:"#".concat(p.identifier)},p.title),p.description&&l.a.createElement("div",{dangerouslySetInnerHTML:{__html:p.description}})),l.a.createElement("div",{className:"__dumi-default-previewer-actions"},g&&l.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:g}),w&&l.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:w}),p.motions&&l.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:N,onClick:function(){return x()}}),p.iframe&&l.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return J(Math.random())}}),!(null===(i=p.hideActions)||void 0===i?void 0:i.includes("EXTERNAL"))&&l.a.createElement(o["Link"],{target:"_blank",to:h},l.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),l.a.createElement("span",null),l.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":j,onClick:function(){return L($)}}),"tsx"===T&&q&&l.a.createElement(o["Link"],{target:"_blank",to:G},l.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),l.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(q?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return z(!q)}})),q&&l.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!k&&l.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:S,onChange:V},Object.keys(p.sources).map((function(e){return l.a.createElement(r["a"],{tab:"_"===e?"index.".concat(f(e,p.sources[e])):e,key:e})}))),l.a.createElement("div",{className:"__dumi-default-previewer-source"},l.a.createElement(m["a"],{code:$,lang:T,showCopy:!1}))))};t["default"]=b},sDyM:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("dEAq"),c=a("Zxc8"),o=a("JjdP"),m=l.a.memo(o["default"]["button-basic"].component),u=l.a.memo(o["default"]["button-size"].component),i=l.a.memo(o["default"]["button-icon"].component),d=l.a.memo(o["default"]["button-loading"].component),s=l.a.memo(o["default"]["button-disabled"].component),E=l.a.memo(o["default"]["button-ghost"].component),p=l.a.memo(o["default"]["button-block"].component),f=l.a.memo(o["default"]["button-multiple"].component),b=l.a.memo(o["default"]["button-danger"].component);t["default"]=e=>(l.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),l.a.createElement(l.a.Fragment,null,l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h1",{id:"button-\u6309\u94ae"},l.a.createElement(r["AnchorLink"],{to:"#button-\u6309\u94ae","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Button \u6309\u94ae"),l.a.createElement("p",null,"\u6309\u94ae\u7528\u4e8e\u5f00\u59cb\u4e00\u4e2a\u5373\u65f6\u64cd\u4f5c\u3002"),l.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},l.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),l.a.createElement("p",null,"\u6807\u8bb0\u4e86\u4e00\u4e2a\uff08\u6216\u5c01\u88c5\u4e00\u7ec4\uff09\u64cd\u4f5c\u547d\u4ee4\uff0c\u54cd\u5e94\u7528\u6237\u70b9\u51fb\u884c\u4e3a\uff0c\u89e6\u53d1\u76f8\u5e94\u7684\u4e1a\u52a1\u903b\u8f91\u3002"),l.a.createElement("p",null,"\u5728 @fle-ui/next \u4e2d\u6211\u4eec\u63d0\u4f9b\u4e86\u4e94\u79cd\u6309\u94ae\u3002"),l.a.createElement("ul",null,l.a.createElement("li",null,"\u4e3b\u6309\u94ae\uff1a\u7528\u4e8e\u4e3b\u884c\u52a8\u70b9\uff0c\u4e00\u4e2a\u64cd\u4f5c\u533a\u57df\u53ea\u80fd\u6709\u4e00\u4e2a\u4e3b\u6309\u94ae\u3002"),l.a.createElement("li",null,"\u9ed8\u8ba4\u6309\u94ae\uff1a\u7528\u4e8e\u6ca1\u6709\u4e3b\u6b21\u4e4b\u5206\u7684\u4e00\u7ec4\u884c\u52a8\u70b9\u3002"),l.a.createElement("li",null,"\u865a\u7ebf\u6309\u94ae\uff1a\u5e38\u7528\u4e8e\u6dfb\u52a0\u64cd\u4f5c\u3002"),l.a.createElement("li",null,"\u6587\u672c\u6309\u94ae\uff1a\u7528\u4e8e\u6700\u6b21\u7ea7\u7684\u884c\u52a8\u70b9\u3002"),l.a.createElement("li",null,"\u94fe\u63a5\u6309\u94ae\uff1a\u7528\u4e8e\u4f5c\u4e3a\u5916\u94fe\u7684\u884c\u52a8\u70b9\u3002")),l.a.createElement("p",null,"\u4ee5\u53ca\u56db\u79cd\u72b6\u6001\u5c5e\u6027\u4e0e\u4e0a\u9762\u914d\u5408\u4f7f\u7528\u3002"),l.a.createElement("ul",null,l.a.createElement("li",null,"\u5371\u9669\uff1a\u5220\u9664/\u79fb\u52a8/\u4fee\u6539\u6743\u9650\u7b49\u5371\u9669\u64cd\u4f5c\uff0c\u4e00\u822c\u9700\u8981\u4e8c\u6b21\u786e\u8ba4\u3002"),l.a.createElement("li",null,"\u5e7d\u7075\uff1a\u7528\u4e8e\u80cc\u666f\u8272\u6bd4\u8f83\u590d\u6742\u7684\u5730\u65b9\uff0c\u5e38\u7528\u5728\u9996\u9875/\u4ea7\u54c1\u9875\u7b49\u5c55\u793a\u573a\u666f\u3002"),l.a.createElement("li",null,"\u7981\u7528\uff1a\u884c\u52a8\u70b9\u4e0d\u53ef\u7528\u7684\u65f6\u5019\uff0c\u4e00\u822c\u9700\u8981\u6587\u6848\u89e3\u91ca\u3002"),l.a.createElement("li",null,"\u52a0\u8f7d\u4e2d\uff1a\u7528\u4e8e\u5f02\u6b65\u64cd\u4f5c\u7b49\u5f85\u53cd\u9988\u7684\u65f6\u5019\uff0c\u4e5f\u53ef\u4ee5\u907f\u514d\u591a\u6b21\u63d0\u4ea4\u3002")),l.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},l.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),l.a.createElement("h3",{id:"\u6309\u94ae\u7c7b\u578b"},l.a.createElement(r["AnchorLink"],{to:"#\u6309\u94ae\u7c7b\u578b","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u6309\u94ae\u7c7b\u578b")),l.a.createElement(c["default"],o["default"]["button-basic"].previewerProps,l.a.createElement(m,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u6309\u94ae\u5c3a\u5bf8"},l.a.createElement(r["AnchorLink"],{to:"#\u6309\u94ae\u5c3a\u5bf8","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u6309\u94ae\u5c3a\u5bf8")),l.a.createElement(c["default"],o["default"]["button-size"].previewerProps,l.a.createElement(u,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u56fe\u6807\u6309\u94ae"},l.a.createElement(r["AnchorLink"],{to:"#\u56fe\u6807\u6309\u94ae","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u56fe\u6807\u6309\u94ae")),l.a.createElement(c["default"],o["default"]["button-icon"].previewerProps,l.a.createElement(i,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u52a0\u8f7d\u4e2d\u72b6\u6001"},l.a.createElement(r["AnchorLink"],{to:"#\u52a0\u8f7d\u4e2d\u72b6\u6001","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u52a0\u8f7d\u4e2d\u72b6\u6001")),l.a.createElement(c["default"],o["default"]["button-loading"].previewerProps,l.a.createElement(d,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u4e0d\u53ef\u7528\u72b6\u6001"},l.a.createElement(r["AnchorLink"],{to:"#\u4e0d\u53ef\u7528\u72b6\u6001","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4e0d\u53ef\u7528\u72b6\u6001")),l.a.createElement(c["default"],o["default"]["button-disabled"].previewerProps,l.a.createElement(s,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u5e7d\u7075\u6309\u94ae"},l.a.createElement(r["AnchorLink"],{to:"#\u5e7d\u7075\u6309\u94ae","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u5e7d\u7075\u6309\u94ae")),l.a.createElement(c["default"],o["default"]["button-ghost"].previewerProps,l.a.createElement(E,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"block-\u6309\u94ae"},l.a.createElement(r["AnchorLink"],{to:"#block-\u6309\u94ae","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Block \u6309\u94ae")),l.a.createElement(c["default"],o["default"]["button-block"].previewerProps,l.a.createElement(p,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u591a\u4e2a\u6309\u94ae\u7ec4\u5408"},l.a.createElement(r["AnchorLink"],{to:"#\u591a\u4e2a\u6309\u94ae\u7ec4\u5408","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u591a\u4e2a\u6309\u94ae\u7ec4\u5408")),l.a.createElement(c["default"],o["default"]["button-multiple"].previewerProps,l.a.createElement(f,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u5371\u9669\u6309\u94ae"},l.a.createElement(r["AnchorLink"],{to:"#\u5371\u9669\u6309\u94ae","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u5371\u9669\u6309\u94ae")),l.a.createElement(c["default"],o["default"]["button-danger"].previewerProps,l.a.createElement(b,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"api"},l.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"API"),l.a.createElement("p",null,"\u901a\u8fc7\u8bbe\u7f6e Button \u7684\u5c5e\u6027\u6765\u4ea7\u751f\u4e0d\u540c\u7684\u6309\u94ae\u6837\u5f0f\uff0c\u63a8\u8350\u987a\u5e8f\u4e3a\uff1a",l.a.createElement("code",null,"type")," -> ",l.a.createElement("code",null,"shape")," -> ",l.a.createElement("code",null,"size")," -> ",l.a.createElement("code",null,"loading")," -> ",l.a.createElement("code",null,"disabled"),"\u3002"),l.a.createElement("p",null,"\u6309\u94ae\u7684\u5c5e\u6027\u8bf4\u660e\u5982\u4e0b\uff1a"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u5c5e\u6027"),l.a.createElement("th",null,"\u8bf4\u660e"),l.a.createElement("th",null,"\u7c7b\u578b"),l.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),l.a.createElement("th",null,"\u7248\u672c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"block"),l.a.createElement("td",null,"\u5c06\u6309\u94ae\u5bbd\u5ea6\u8c03\u6574\u4e3a\u5176\u7236\u5bbd\u5ea6\u7684\u9009\u9879"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"danger"),l.a.createElement("td",null,"\u8bbe\u7f6e\u5371\u9669\u6309\u94ae"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"disabled"),l.a.createElement("td",null,"\u6309\u94ae\u5931\u6548\u72b6\u6001"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"ghost"),l.a.createElement("td",null,"\u5e7d\u7075\u5c5e\u6027\uff0c\u4f7f\u6309\u94ae\u80cc\u666f\u900f\u660e"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"href"),l.a.createElement("td",null,"\u70b9\u51fb\u8df3\u8f6c\u7684\u5730\u5740\uff0c\u6307\u5b9a\u6b64\u5c5e\u6027 button \u7684\u884c\u4e3a\u548c a \u94fe\u63a5\u4e00\u81f4"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"htmlType"),l.a.createElement("td",null,"\u8bbe\u7f6e ",l.a.createElement("code",null,"button")," \u539f\u751f\u7684 ",l.a.createElement("code",null,"type")," \u503c\uff0c\u53ef\u9009\u503c\u8bf7\u53c2\u8003 ",l.a.createElement(r["Link"],{to:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type"},"HTML \u6807\u51c6")),l.a.createElement("td",null,"string"),l.a.createElement("td",null,l.a.createElement("code",null,"button")),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"icon"),l.a.createElement("td",null,"\u8bbe\u7f6e\u6309\u94ae\u7684\u56fe\u6807\u7ec4\u4ef6"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"loading"),l.a.createElement("td",null,"\u8bbe\u7f6e\u6309\u94ae\u8f7d\u5165\u72b6\u6001"),l.a.createElement("td",null,"boolean | ","{"," delay: number ","}"),l.a.createElement("td",null,"false"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"shape"),l.a.createElement("td",null,"\u8bbe\u7f6e\u6309\u94ae\u5f62\u72b6"),l.a.createElement("td",null,l.a.createElement("code",null,"circle")," | ",l.a.createElement("code",null,"round")),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"size"),l.a.createElement("td",null,"\u8bbe\u7f6e\u6309\u94ae\u5927\u5c0f"),l.a.createElement("td",null,l.a.createElement("code",null,"large")," | ",l.a.createElement("code",null,"middle")," | ",l.a.createElement("code",null,"small")),l.a.createElement("td",null,l.a.createElement("code",null,"middle")),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"target"),l.a.createElement("td",null,"\u76f8\u5f53\u4e8e a \u94fe\u63a5\u7684 target \u5c5e\u6027\uff0chref \u5b58\u5728\u65f6\u751f\u6548"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"type"),l.a.createElement("td",null,"\u8bbe\u7f6e\u6309\u94ae\u7c7b\u578b"),l.a.createElement("td",null,l.a.createElement("code",null,"primary")," | ",l.a.createElement("code",null,"ghost")," | ",l.a.createElement("code",null,"dashed")," | ",l.a.createElement("code",null,"link")," | ",l.a.createElement("code",null,"text")," | ",l.a.createElement("code",null,"default")),l.a.createElement("td",null,l.a.createElement("code",null,"default")),l.a.createElement("td",null)),l.a.createElement("tr",null,l.a.createElement("td",null,"onClick"),l.a.createElement("td",null,"\u70b9\u51fb\u6309\u94ae\u65f6\u7684\u56de\u8c03"),l.a.createElement("td",null,"(event) => void"),l.a.createElement("td",null,"-"),l.a.createElement("td",null)))),l.a.createElement("p",null,"\u652f\u6301\u539f\u751f button \u7684\u5176\u4ed6\u6240\u6709\u5c5e\u6027\u3002"),l.a.createElement("h2",{id:"faq"},l.a.createElement(r["AnchorLink"],{to:"#faq","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"FAQ"),l.a.createElement("h3",{id:"\u5982\u4f55\u79fb\u9664\u4e24\u4e2a\u6c49\u5b57\u4e4b\u95f4\u7684\u7a7a\u683c"},l.a.createElement(r["AnchorLink"],{to:"#\u5982\u4f55\u79fb\u9664\u4e24\u4e2a\u6c49\u5b57\u4e4b\u95f4\u7684\u7a7a\u683c","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u5982\u4f55\u79fb\u9664\u4e24\u4e2a\u6c49\u5b57\u4e4b\u95f4\u7684\u7a7a\u683c\uff1f"),l.a.createElement("p",null,"\u6839\u636e Ant Design \u8bbe\u8ba1\u89c4\u8303\u8981\u6c42\uff0c\u6211\u4eec\u4f1a\u5728\u6309\u94ae\u5185(\u6587\u672c\u6309\u94ae\u548c\u94fe\u63a5\u6309\u94ae\u9664\u5916)\u53ea\u6709\u4e24\u4e2a\u6c49\u5b57\u65f6\u81ea\u52a8\u6dfb\u52a0\u7a7a\u683c\uff0c\u5982\u679c\u4f60\u4e0d\u9700\u8981\u8fd9\u4e2a\u7279\u6027\uff0c\u53ef\u4ee5\u8bbe\u7f6e ",l.a.createElement(r["AnchorLink"],{to:"/components/config-provider/#API"},"ConfigProvider")," \u7684 ",l.a.createElement("code",null,"autoInsertSpaceInButton")," \u4e3a ",l.a.createElement("code",null,"false"),"\u3002"),l.a.createElement("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/MY%26THAPZrW/38f06cb9-293a-4b42-b183-9f443e79ffea.png",style:{boxShadow:"none",margin:"0",width:"100px"},alt:"\u79fb\u9664\u4e24\u4e2a\u6c49\u5b57\u4e4b\u95f4\u7684\u7a7a\u683c"}),l.a.createElement("style",{dangerouslySetInnerHTML:{__html:'\n[class^="__dumi-default-previewer"] .ant-btn {\n margin-right: 8px;\n margin-bottom: 12px;\n}\n[class^="__dumi-default-previewer"] .ant-btn-rtl {\n margin-right: 0;\n margin-left: 8px;\n}\n[class^="__dumi-default-previewer"] .ant-btn-group > .ant-btn {\n margin-right: 0;\n}\n[class^="__dumi-default-previewer"] .site-button-ghost-wrapper {\n padding: 8px 8px 0 8px;\n background: rgb(190, 200, 200);\n}\n'}})))))}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [16],
3
+ {
4
+ MZF8: function (e, t, a) {
5
+ 'use strict';
6
+ var n = a('ogwx');
7
+ a.d(t, 'a', function () {
8
+ return n['b'];
9
+ });
10
+ a('VCU9');
11
+ },
12
+ RZMt: function (e, t, a) {},
13
+ Zxc8: function (e, t, a) {
14
+ 'use strict';
15
+ a.r(t);
16
+ var n = a('q1tI'),
17
+ l = a.n(n),
18
+ r = a('k3GJ'),
19
+ c = a('MZF8'),
20
+ o = a('dEAq'),
21
+ m = a('H1Ra');
22
+ a('RZMt');
23
+ function u(e, t) {
24
+ return p(e) || E(e, t) || d(e, t) || i();
25
+ }
26
+ function i() {
27
+ throw new TypeError(
28
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
29
+ );
30
+ }
31
+ function d(e, t) {
32
+ if (e) {
33
+ if ('string' === typeof e) return s(e, t);
34
+ var a = Object.prototype.toString.call(e).slice(8, -1);
35
+ return (
36
+ 'Object' === a && e.constructor && (a = e.constructor.name),
37
+ 'Map' === a || 'Set' === a
38
+ ? Array.from(e)
39
+ : 'Arguments' === a ||
40
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
41
+ ? s(e, t)
42
+ : void 0
43
+ );
44
+ }
45
+ }
46
+ function s(e, t) {
47
+ (null == t || t > e.length) && (t = e.length);
48
+ for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
49
+ return n;
50
+ }
51
+ function E(e, t) {
52
+ var a =
53
+ null == e
54
+ ? null
55
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
56
+ e['@@iterator'];
57
+ if (null != a) {
58
+ var n,
59
+ l,
60
+ r = [],
61
+ c = !0,
62
+ o = !1;
63
+ try {
64
+ for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
65
+ if ((r.push(n.value), t && r.length === t)) break;
66
+ } catch (m) {
67
+ (o = !0), (l = m);
68
+ } finally {
69
+ try {
70
+ c || null == a['return'] || a['return']();
71
+ } finally {
72
+ if (o) throw l;
73
+ }
74
+ }
75
+ return r;
76
+ }
77
+ }
78
+ function p(e) {
79
+ if (Array.isArray(e)) return e;
80
+ }
81
+ function f(e, t) {
82
+ var a,
83
+ n =
84
+ null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
85
+ return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
86
+ }
87
+ var b = function (e) {
88
+ var t,
89
+ a,
90
+ i,
91
+ d = Object(n['useRef'])(),
92
+ s = Object(n['useContext'])(o['context']),
93
+ E = s.locale,
94
+ p = Object(o['useLocaleProps'])(E, e),
95
+ b = Object(o['useDemoUrl'])(p.identifier),
96
+ h = p.demoUrl || b,
97
+ v =
98
+ (null === c['a'] || void 0 === c['a']
99
+ ? void 0
100
+ : c['a'].location.hash) === '#'.concat(p.identifier),
101
+ k = 1 === Object.keys(p.sources).length,
102
+ g = Object(o['useCodeSandbox'])(
103
+ (
104
+ null === (t = p.hideActions) || void 0 === t
105
+ ? void 0
106
+ : t.includes('CSB')
107
+ )
108
+ ? null
109
+ : p,
110
+ ),
111
+ w = Object(o['useRiddle'])(
112
+ (
113
+ null === (a = p.hideActions) || void 0 === a
114
+ ? void 0
115
+ : a.includes('RIDDLE')
116
+ )
117
+ ? null
118
+ : p,
119
+ ),
120
+ _ = Object(o['useMotions'])(p.motions || [], d.current),
121
+ y = u(_, 2),
122
+ x = y[0],
123
+ N = y[1],
124
+ A = Object(o['useCopy'])(),
125
+ I = u(A, 2),
126
+ L = I[0],
127
+ j = I[1],
128
+ O = Object(n['useState'])('_'),
129
+ C = u(O, 2),
130
+ S = C[0],
131
+ P = C[1],
132
+ M = Object(n['useState'])(f(S, p.sources[S])),
133
+ R = u(M, 2),
134
+ T = R[0],
135
+ B = R[1],
136
+ U = Object(n['useState'])(Boolean(p.defaultShowCode)),
137
+ Z = u(U, 2),
138
+ q = Z[0],
139
+ z = Z[1],
140
+ H = Object(n['useState'])(Math.random()),
141
+ D = u(H, 2),
142
+ F = D[0],
143
+ J = D[1],
144
+ $ = p.sources[S][T] || p.sources[S].content,
145
+ G = Object(o['useTSPlaygroundUrl'])(E, $),
146
+ W = Object(n['useRef'])(),
147
+ X = Object(o['usePrefersColor'])(),
148
+ K = u(X, 1),
149
+ Q = K[0];
150
+ function V(e) {
151
+ P(e), B(f(e, p.sources[e]));
152
+ }
153
+ return (
154
+ Object(n['useEffect'])(
155
+ function () {
156
+ J(Math.random());
157
+ },
158
+ [Q],
159
+ ),
160
+ l.a.createElement(
161
+ 'div',
162
+ {
163
+ style: p.style,
164
+ className: [
165
+ p.className,
166
+ '__dumi-default-previewer',
167
+ v ? '__dumi-default-previewer-target' : '',
168
+ ]
169
+ .filter(Boolean)
170
+ .join(' '),
171
+ id: p.identifier,
172
+ 'data-debug': p.debug || void 0,
173
+ 'data-iframe': p.iframe || void 0,
174
+ },
175
+ p.iframe &&
176
+ l.a.createElement('div', {
177
+ className: '__dumi-default-previewer-browser-nav',
178
+ }),
179
+ l.a.createElement(
180
+ 'div',
181
+ {
182
+ ref: d,
183
+ className: '__dumi-default-previewer-demo',
184
+ style: {
185
+ transform: p.transform ? 'translate(0, 0)' : void 0,
186
+ padding:
187
+ p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
188
+ background: p.background,
189
+ },
190
+ },
191
+ p.iframe
192
+ ? l.a.createElement('iframe', {
193
+ title: 'dumi-previewer',
194
+ style: {
195
+ height: String(p.iframe).replace(/(\d)$/, '$1px'),
196
+ },
197
+ key: F,
198
+ src: h,
199
+ ref: W,
200
+ })
201
+ : p.children,
202
+ ),
203
+ l.a.createElement(
204
+ 'div',
205
+ {
206
+ className: '__dumi-default-previewer-desc',
207
+ 'data-title': p.title,
208
+ },
209
+ p.title &&
210
+ l.a.createElement(
211
+ o['AnchorLink'],
212
+ { to: '#'.concat(p.identifier) },
213
+ p.title,
214
+ ),
215
+ p.description &&
216
+ l.a.createElement('div', {
217
+ dangerouslySetInnerHTML: { __html: p.description },
218
+ }),
219
+ ),
220
+ l.a.createElement(
221
+ 'div',
222
+ { className: '__dumi-default-previewer-actions' },
223
+ g &&
224
+ l.a.createElement('button', {
225
+ title: 'Open demo on CodeSandbox.io',
226
+ className: '__dumi-default-icon',
227
+ role: 'codesandbox',
228
+ onClick: g,
229
+ }),
230
+ w &&
231
+ l.a.createElement('button', {
232
+ title: 'Open demo on Riddle',
233
+ className: '__dumi-default-icon',
234
+ role: 'riddle',
235
+ onClick: w,
236
+ }),
237
+ p.motions &&
238
+ l.a.createElement('button', {
239
+ title: 'Execute motions',
240
+ className: '__dumi-default-icon',
241
+ role: 'motions',
242
+ disabled: N,
243
+ onClick: function () {
244
+ return x();
245
+ },
246
+ }),
247
+ p.iframe &&
248
+ l.a.createElement('button', {
249
+ title: 'Reload demo iframe page',
250
+ className: '__dumi-default-icon',
251
+ role: 'refresh',
252
+ onClick: function () {
253
+ return J(Math.random());
254
+ },
255
+ }),
256
+ !(null === (i = p.hideActions) || void 0 === i
257
+ ? void 0
258
+ : i.includes('EXTERNAL')) &&
259
+ l.a.createElement(
260
+ o['Link'],
261
+ { target: '_blank', to: h },
262
+ l.a.createElement('button', {
263
+ title: 'Open demo in new tab',
264
+ className: '__dumi-default-icon',
265
+ role: 'open-demo',
266
+ type: 'button',
267
+ }),
268
+ ),
269
+ l.a.createElement('span', null),
270
+ l.a.createElement('button', {
271
+ title: 'Copy source code',
272
+ className: '__dumi-default-icon',
273
+ role: 'copy',
274
+ 'data-status': j,
275
+ onClick: function () {
276
+ return L($);
277
+ },
278
+ }),
279
+ 'tsx' === T &&
280
+ q &&
281
+ l.a.createElement(
282
+ o['Link'],
283
+ { target: '_blank', to: G },
284
+ l.a.createElement('button', {
285
+ title: 'Get JSX via TypeScript Playground',
286
+ className: '__dumi-default-icon',
287
+ role: 'change-tsx',
288
+ type: 'button',
289
+ }),
290
+ ),
291
+ l.a.createElement('button', {
292
+ title: 'Toggle source code panel',
293
+ className: '__dumi-default-icon'.concat(
294
+ q ? ' __dumi-default-btn-expand' : '',
295
+ ),
296
+ role: 'source',
297
+ type: 'button',
298
+ onClick: function () {
299
+ return z(!q);
300
+ },
301
+ }),
302
+ ),
303
+ q &&
304
+ l.a.createElement(
305
+ 'div',
306
+ { className: '__dumi-default-previewer-source-wrapper' },
307
+ !k &&
308
+ l.a.createElement(
309
+ r['b'],
310
+ {
311
+ className: '__dumi-default-previewer-source-tab',
312
+ prefixCls: '__dumi-default-tabs',
313
+ moreIcon: '\xb7\xb7\xb7',
314
+ defaultActiveKey: S,
315
+ onChange: V,
316
+ },
317
+ Object.keys(p.sources).map(function (e) {
318
+ return l.a.createElement(r['a'], {
319
+ tab:
320
+ '_' === e ? 'index.'.concat(f(e, p.sources[e])) : e,
321
+ key: e,
322
+ });
323
+ }),
324
+ ),
325
+ l.a.createElement(
326
+ 'div',
327
+ { className: '__dumi-default-previewer-source' },
328
+ l.a.createElement(m['a'], { code: $, lang: T, showCopy: !1 }),
329
+ ),
330
+ ),
331
+ )
332
+ );
333
+ };
334
+ t['default'] = b;
335
+ },
336
+ sDyM: function (e, t, a) {
337
+ 'use strict';
338
+ a.r(t);
339
+ var n = a('q1tI'),
340
+ l = a.n(n),
341
+ r = a('dEAq'),
342
+ c = a('Zxc8'),
343
+ o = a('JjdP'),
344
+ m = l.a.memo(o['default']['button-basic'].component),
345
+ u = l.a.memo(o['default']['button-size'].component),
346
+ i = l.a.memo(o['default']['button-icon'].component),
347
+ d = l.a.memo(o['default']['button-loading'].component),
348
+ s = l.a.memo(o['default']['button-disabled'].component),
349
+ E = l.a.memo(o['default']['button-ghost'].component),
350
+ p = l.a.memo(o['default']['button-block'].component),
351
+ f = l.a.memo(o['default']['button-multiple'].component),
352
+ b = l.a.memo(o['default']['button-danger'].component);
353
+ t['default'] = (e) => (
354
+ l.a.useEffect(() => {
355
+ var t;
356
+ null !== e &&
357
+ void 0 !== e &&
358
+ null !== (t = e.location) &&
359
+ void 0 !== t &&
360
+ t.hash &&
361
+ r['AnchorLink'].scrollToAnchor(
362
+ decodeURIComponent(e.location.hash.slice(1)),
363
+ );
364
+ }, []),
365
+ l.a.createElement(
366
+ l.a.Fragment,
367
+ null,
368
+ l.a.createElement(
369
+ l.a.Fragment,
370
+ null,
371
+ l.a.createElement(
372
+ 'div',
373
+ { className: 'markdown' },
374
+ l.a.createElement(
375
+ 'h1',
376
+ { id: 'button-\u6309\u94ae' },
377
+ l.a.createElement(
378
+ r['AnchorLink'],
379
+ {
380
+ to: '#button-\u6309\u94ae',
381
+ 'aria-hidden': 'true',
382
+ tabIndex: -1,
383
+ },
384
+ l.a.createElement('span', { className: 'icon icon-link' }),
385
+ ),
386
+ 'Button \u6309\u94ae',
387
+ ),
388
+ l.a.createElement(
389
+ 'p',
390
+ null,
391
+ '\u6309\u94ae\u7528\u4e8e\u5f00\u59cb\u4e00\u4e2a\u5373\u65f6\u64cd\u4f5c\u3002',
392
+ ),
393
+ l.a.createElement(
394
+ 'h2',
395
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
396
+ l.a.createElement(
397
+ r['AnchorLink'],
398
+ {
399
+ to: '#\u4f55\u65f6\u4f7f\u7528',
400
+ 'aria-hidden': 'true',
401
+ tabIndex: -1,
402
+ },
403
+ l.a.createElement('span', { className: 'icon icon-link' }),
404
+ ),
405
+ '\u4f55\u65f6\u4f7f\u7528',
406
+ ),
407
+ l.a.createElement(
408
+ 'p',
409
+ null,
410
+ '\u6807\u8bb0\u4e86\u4e00\u4e2a\uff08\u6216\u5c01\u88c5\u4e00\u7ec4\uff09\u64cd\u4f5c\u547d\u4ee4\uff0c\u54cd\u5e94\u7528\u6237\u70b9\u51fb\u884c\u4e3a\uff0c\u89e6\u53d1\u76f8\u5e94\u7684\u4e1a\u52a1\u903b\u8f91\u3002',
411
+ ),
412
+ l.a.createElement(
413
+ 'p',
414
+ null,
415
+ '\u5728 @fle-ui/next \u4e2d\u6211\u4eec\u63d0\u4f9b\u4e86\u4e94\u79cd\u6309\u94ae\u3002',
416
+ ),
417
+ l.a.createElement(
418
+ 'ul',
419
+ null,
420
+ l.a.createElement(
421
+ 'li',
422
+ null,
423
+ '\u4e3b\u6309\u94ae\uff1a\u7528\u4e8e\u4e3b\u884c\u52a8\u70b9\uff0c\u4e00\u4e2a\u64cd\u4f5c\u533a\u57df\u53ea\u80fd\u6709\u4e00\u4e2a\u4e3b\u6309\u94ae\u3002',
424
+ ),
425
+ l.a.createElement(
426
+ 'li',
427
+ null,
428
+ '\u9ed8\u8ba4\u6309\u94ae\uff1a\u7528\u4e8e\u6ca1\u6709\u4e3b\u6b21\u4e4b\u5206\u7684\u4e00\u7ec4\u884c\u52a8\u70b9\u3002',
429
+ ),
430
+ l.a.createElement(
431
+ 'li',
432
+ null,
433
+ '\u865a\u7ebf\u6309\u94ae\uff1a\u5e38\u7528\u4e8e\u6dfb\u52a0\u64cd\u4f5c\u3002',
434
+ ),
435
+ l.a.createElement(
436
+ 'li',
437
+ null,
438
+ '\u6587\u672c\u6309\u94ae\uff1a\u7528\u4e8e\u6700\u6b21\u7ea7\u7684\u884c\u52a8\u70b9\u3002',
439
+ ),
440
+ l.a.createElement(
441
+ 'li',
442
+ null,
443
+ '\u94fe\u63a5\u6309\u94ae\uff1a\u7528\u4e8e\u4f5c\u4e3a\u5916\u94fe\u7684\u884c\u52a8\u70b9\u3002',
444
+ ),
445
+ ),
446
+ l.a.createElement(
447
+ 'p',
448
+ null,
449
+ '\u4ee5\u53ca\u56db\u79cd\u72b6\u6001\u5c5e\u6027\u4e0e\u4e0a\u9762\u914d\u5408\u4f7f\u7528\u3002',
450
+ ),
451
+ l.a.createElement(
452
+ 'ul',
453
+ null,
454
+ l.a.createElement(
455
+ 'li',
456
+ null,
457
+ '\u5371\u9669\uff1a\u5220\u9664/\u79fb\u52a8/\u4fee\u6539\u6743\u9650\u7b49\u5371\u9669\u64cd\u4f5c\uff0c\u4e00\u822c\u9700\u8981\u4e8c\u6b21\u786e\u8ba4\u3002',
458
+ ),
459
+ l.a.createElement(
460
+ 'li',
461
+ null,
462
+ '\u5e7d\u7075\uff1a\u7528\u4e8e\u80cc\u666f\u8272\u6bd4\u8f83\u590d\u6742\u7684\u5730\u65b9\uff0c\u5e38\u7528\u5728\u9996\u9875/\u4ea7\u54c1\u9875\u7b49\u5c55\u793a\u573a\u666f\u3002',
463
+ ),
464
+ l.a.createElement(
465
+ 'li',
466
+ null,
467
+ '\u7981\u7528\uff1a\u884c\u52a8\u70b9\u4e0d\u53ef\u7528\u7684\u65f6\u5019\uff0c\u4e00\u822c\u9700\u8981\u6587\u6848\u89e3\u91ca\u3002',
468
+ ),
469
+ l.a.createElement(
470
+ 'li',
471
+ null,
472
+ '\u52a0\u8f7d\u4e2d\uff1a\u7528\u4e8e\u5f02\u6b65\u64cd\u4f5c\u7b49\u5f85\u53cd\u9988\u7684\u65f6\u5019\uff0c\u4e5f\u53ef\u4ee5\u907f\u514d\u591a\u6b21\u63d0\u4ea4\u3002',
473
+ ),
474
+ ),
475
+ l.a.createElement(
476
+ 'h2',
477
+ { id: '\u4ee3\u7801\u6f14\u793a' },
478
+ l.a.createElement(
479
+ r['AnchorLink'],
480
+ {
481
+ to: '#\u4ee3\u7801\u6f14\u793a',
482
+ 'aria-hidden': 'true',
483
+ tabIndex: -1,
484
+ },
485
+ l.a.createElement('span', { className: 'icon icon-link' }),
486
+ ),
487
+ '\u4ee3\u7801\u6f14\u793a',
488
+ ),
489
+ l.a.createElement(
490
+ 'h3',
491
+ { id: '\u6309\u94ae\u7c7b\u578b' },
492
+ l.a.createElement(
493
+ r['AnchorLink'],
494
+ {
495
+ to: '#\u6309\u94ae\u7c7b\u578b',
496
+ 'aria-hidden': 'true',
497
+ tabIndex: -1,
498
+ },
499
+ l.a.createElement('span', { className: 'icon icon-link' }),
500
+ ),
501
+ '\u6309\u94ae\u7c7b\u578b',
502
+ ),
503
+ ),
504
+ l.a.createElement(
505
+ c['default'],
506
+ o['default']['button-basic'].previewerProps,
507
+ l.a.createElement(m, null),
508
+ ),
509
+ l.a.createElement(
510
+ 'div',
511
+ { className: 'markdown' },
512
+ l.a.createElement(
513
+ 'h3',
514
+ { id: '\u6309\u94ae\u5c3a\u5bf8' },
515
+ l.a.createElement(
516
+ r['AnchorLink'],
517
+ {
518
+ to: '#\u6309\u94ae\u5c3a\u5bf8',
519
+ 'aria-hidden': 'true',
520
+ tabIndex: -1,
521
+ },
522
+ l.a.createElement('span', { className: 'icon icon-link' }),
523
+ ),
524
+ '\u6309\u94ae\u5c3a\u5bf8',
525
+ ),
526
+ ),
527
+ l.a.createElement(
528
+ c['default'],
529
+ o['default']['button-size'].previewerProps,
530
+ l.a.createElement(u, null),
531
+ ),
532
+ l.a.createElement(
533
+ 'div',
534
+ { className: 'markdown' },
535
+ l.a.createElement(
536
+ 'h3',
537
+ { id: '\u56fe\u6807\u6309\u94ae' },
538
+ l.a.createElement(
539
+ r['AnchorLink'],
540
+ {
541
+ to: '#\u56fe\u6807\u6309\u94ae',
542
+ 'aria-hidden': 'true',
543
+ tabIndex: -1,
544
+ },
545
+ l.a.createElement('span', { className: 'icon icon-link' }),
546
+ ),
547
+ '\u56fe\u6807\u6309\u94ae',
548
+ ),
549
+ ),
550
+ l.a.createElement(
551
+ c['default'],
552
+ o['default']['button-icon'].previewerProps,
553
+ l.a.createElement(i, null),
554
+ ),
555
+ l.a.createElement(
556
+ 'div',
557
+ { className: 'markdown' },
558
+ l.a.createElement(
559
+ 'h3',
560
+ { id: '\u52a0\u8f7d\u4e2d\u72b6\u6001' },
561
+ l.a.createElement(
562
+ r['AnchorLink'],
563
+ {
564
+ to: '#\u52a0\u8f7d\u4e2d\u72b6\u6001',
565
+ 'aria-hidden': 'true',
566
+ tabIndex: -1,
567
+ },
568
+ l.a.createElement('span', { className: 'icon icon-link' }),
569
+ ),
570
+ '\u52a0\u8f7d\u4e2d\u72b6\u6001',
571
+ ),
572
+ ),
573
+ l.a.createElement(
574
+ c['default'],
575
+ o['default']['button-loading'].previewerProps,
576
+ l.a.createElement(d, null),
577
+ ),
578
+ l.a.createElement(
579
+ 'div',
580
+ { className: 'markdown' },
581
+ l.a.createElement(
582
+ 'h3',
583
+ { id: '\u4e0d\u53ef\u7528\u72b6\u6001' },
584
+ l.a.createElement(
585
+ r['AnchorLink'],
586
+ {
587
+ to: '#\u4e0d\u53ef\u7528\u72b6\u6001',
588
+ 'aria-hidden': 'true',
589
+ tabIndex: -1,
590
+ },
591
+ l.a.createElement('span', { className: 'icon icon-link' }),
592
+ ),
593
+ '\u4e0d\u53ef\u7528\u72b6\u6001',
594
+ ),
595
+ ),
596
+ l.a.createElement(
597
+ c['default'],
598
+ o['default']['button-disabled'].previewerProps,
599
+ l.a.createElement(s, null),
600
+ ),
601
+ l.a.createElement(
602
+ 'div',
603
+ { className: 'markdown' },
604
+ l.a.createElement(
605
+ 'h3',
606
+ { id: '\u5e7d\u7075\u6309\u94ae' },
607
+ l.a.createElement(
608
+ r['AnchorLink'],
609
+ {
610
+ to: '#\u5e7d\u7075\u6309\u94ae',
611
+ 'aria-hidden': 'true',
612
+ tabIndex: -1,
613
+ },
614
+ l.a.createElement('span', { className: 'icon icon-link' }),
615
+ ),
616
+ '\u5e7d\u7075\u6309\u94ae',
617
+ ),
618
+ ),
619
+ l.a.createElement(
620
+ c['default'],
621
+ o['default']['button-ghost'].previewerProps,
622
+ l.a.createElement(E, null),
623
+ ),
624
+ l.a.createElement(
625
+ 'div',
626
+ { className: 'markdown' },
627
+ l.a.createElement(
628
+ 'h3',
629
+ { id: 'block-\u6309\u94ae' },
630
+ l.a.createElement(
631
+ r['AnchorLink'],
632
+ {
633
+ to: '#block-\u6309\u94ae',
634
+ 'aria-hidden': 'true',
635
+ tabIndex: -1,
636
+ },
637
+ l.a.createElement('span', { className: 'icon icon-link' }),
638
+ ),
639
+ 'Block \u6309\u94ae',
640
+ ),
641
+ ),
642
+ l.a.createElement(
643
+ c['default'],
644
+ o['default']['button-block'].previewerProps,
645
+ l.a.createElement(p, null),
646
+ ),
647
+ l.a.createElement(
648
+ 'div',
649
+ { className: 'markdown' },
650
+ l.a.createElement(
651
+ 'h3',
652
+ { id: '\u591a\u4e2a\u6309\u94ae\u7ec4\u5408' },
653
+ l.a.createElement(
654
+ r['AnchorLink'],
655
+ {
656
+ to: '#\u591a\u4e2a\u6309\u94ae\u7ec4\u5408',
657
+ 'aria-hidden': 'true',
658
+ tabIndex: -1,
659
+ },
660
+ l.a.createElement('span', { className: 'icon icon-link' }),
661
+ ),
662
+ '\u591a\u4e2a\u6309\u94ae\u7ec4\u5408',
663
+ ),
664
+ ),
665
+ l.a.createElement(
666
+ c['default'],
667
+ o['default']['button-multiple'].previewerProps,
668
+ l.a.createElement(f, null),
669
+ ),
670
+ l.a.createElement(
671
+ 'div',
672
+ { className: 'markdown' },
673
+ l.a.createElement(
674
+ 'h3',
675
+ { id: '\u5371\u9669\u6309\u94ae' },
676
+ l.a.createElement(
677
+ r['AnchorLink'],
678
+ {
679
+ to: '#\u5371\u9669\u6309\u94ae',
680
+ 'aria-hidden': 'true',
681
+ tabIndex: -1,
682
+ },
683
+ l.a.createElement('span', { className: 'icon icon-link' }),
684
+ ),
685
+ '\u5371\u9669\u6309\u94ae',
686
+ ),
687
+ ),
688
+ l.a.createElement(
689
+ c['default'],
690
+ o['default']['button-danger'].previewerProps,
691
+ l.a.createElement(b, null),
692
+ ),
693
+ l.a.createElement(
694
+ 'div',
695
+ { className: 'markdown' },
696
+ l.a.createElement(
697
+ 'h2',
698
+ { id: 'api' },
699
+ l.a.createElement(
700
+ r['AnchorLink'],
701
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
702
+ l.a.createElement('span', { className: 'icon icon-link' }),
703
+ ),
704
+ 'API',
705
+ ),
706
+ l.a.createElement(
707
+ 'p',
708
+ null,
709
+ '\u901a\u8fc7\u8bbe\u7f6e Button \u7684\u5c5e\u6027\u6765\u4ea7\u751f\u4e0d\u540c\u7684\u6309\u94ae\u6837\u5f0f\uff0c\u63a8\u8350\u987a\u5e8f\u4e3a\uff1a',
710
+ l.a.createElement('code', null, 'type'),
711
+ ' -> ',
712
+ l.a.createElement('code', null, 'shape'),
713
+ ' -> ',
714
+ l.a.createElement('code', null, 'size'),
715
+ ' -> ',
716
+ l.a.createElement('code', null, 'loading'),
717
+ ' -> ',
718
+ l.a.createElement('code', null, 'disabled'),
719
+ '\u3002',
720
+ ),
721
+ l.a.createElement(
722
+ 'p',
723
+ null,
724
+ '\u6309\u94ae\u7684\u5c5e\u6027\u8bf4\u660e\u5982\u4e0b\uff1a',
725
+ ),
726
+ l.a.createElement(
727
+ 'table',
728
+ null,
729
+ l.a.createElement(
730
+ 'thead',
731
+ null,
732
+ l.a.createElement(
733
+ 'tr',
734
+ null,
735
+ l.a.createElement('th', null, '\u5c5e\u6027'),
736
+ l.a.createElement('th', null, '\u8bf4\u660e'),
737
+ l.a.createElement('th', null, '\u7c7b\u578b'),
738
+ l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
739
+ l.a.createElement('th', null, '\u7248\u672c'),
740
+ ),
741
+ ),
742
+ l.a.createElement(
743
+ 'tbody',
744
+ null,
745
+ l.a.createElement(
746
+ 'tr',
747
+ null,
748
+ l.a.createElement('td', null, 'block'),
749
+ l.a.createElement(
750
+ 'td',
751
+ null,
752
+ '\u5c06\u6309\u94ae\u5bbd\u5ea6\u8c03\u6574\u4e3a\u5176\u7236\u5bbd\u5ea6\u7684\u9009\u9879',
753
+ ),
754
+ l.a.createElement('td', null, 'boolean'),
755
+ l.a.createElement('td', null, 'false'),
756
+ l.a.createElement('td', null),
757
+ ),
758
+ l.a.createElement(
759
+ 'tr',
760
+ null,
761
+ l.a.createElement('td', null, 'danger'),
762
+ l.a.createElement(
763
+ 'td',
764
+ null,
765
+ '\u8bbe\u7f6e\u5371\u9669\u6309\u94ae',
766
+ ),
767
+ l.a.createElement('td', null, 'boolean'),
768
+ l.a.createElement('td', null, 'false'),
769
+ l.a.createElement('td', null),
770
+ ),
771
+ l.a.createElement(
772
+ 'tr',
773
+ null,
774
+ l.a.createElement('td', null, 'disabled'),
775
+ l.a.createElement(
776
+ 'td',
777
+ null,
778
+ '\u6309\u94ae\u5931\u6548\u72b6\u6001',
779
+ ),
780
+ l.a.createElement('td', null, 'boolean'),
781
+ l.a.createElement('td', null, 'false'),
782
+ l.a.createElement('td', null),
783
+ ),
784
+ l.a.createElement(
785
+ 'tr',
786
+ null,
787
+ l.a.createElement('td', null, 'ghost'),
788
+ l.a.createElement(
789
+ 'td',
790
+ null,
791
+ '\u5e7d\u7075\u5c5e\u6027\uff0c\u4f7f\u6309\u94ae\u80cc\u666f\u900f\u660e',
792
+ ),
793
+ l.a.createElement('td', null, 'boolean'),
794
+ l.a.createElement('td', null, 'false'),
795
+ l.a.createElement('td', null),
796
+ ),
797
+ l.a.createElement(
798
+ 'tr',
799
+ null,
800
+ l.a.createElement('td', null, 'href'),
801
+ l.a.createElement(
802
+ 'td',
803
+ null,
804
+ '\u70b9\u51fb\u8df3\u8f6c\u7684\u5730\u5740\uff0c\u6307\u5b9a\u6b64\u5c5e\u6027 button \u7684\u884c\u4e3a\u548c a \u94fe\u63a5\u4e00\u81f4',
805
+ ),
806
+ l.a.createElement('td', null, 'string'),
807
+ l.a.createElement('td', null, '-'),
808
+ l.a.createElement('td', null),
809
+ ),
810
+ l.a.createElement(
811
+ 'tr',
812
+ null,
813
+ l.a.createElement('td', null, 'htmlType'),
814
+ l.a.createElement(
815
+ 'td',
816
+ null,
817
+ '\u8bbe\u7f6e ',
818
+ l.a.createElement('code', null, 'button'),
819
+ ' \u539f\u751f\u7684 ',
820
+ l.a.createElement('code', null, 'type'),
821
+ ' \u503c\uff0c\u53ef\u9009\u503c\u8bf7\u53c2\u8003 ',
822
+ l.a.createElement(
823
+ r['Link'],
824
+ {
825
+ to: 'https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type',
826
+ },
827
+ 'HTML \u6807\u51c6',
828
+ ),
829
+ ),
830
+ l.a.createElement('td', null, 'string'),
831
+ l.a.createElement(
832
+ 'td',
833
+ null,
834
+ l.a.createElement('code', null, 'button'),
835
+ ),
836
+ l.a.createElement('td', null),
837
+ ),
838
+ l.a.createElement(
839
+ 'tr',
840
+ null,
841
+ l.a.createElement('td', null, 'icon'),
842
+ l.a.createElement(
843
+ 'td',
844
+ null,
845
+ '\u8bbe\u7f6e\u6309\u94ae\u7684\u56fe\u6807\u7ec4\u4ef6',
846
+ ),
847
+ l.a.createElement('td', null, 'ReactNode'),
848
+ l.a.createElement('td', null, '-'),
849
+ l.a.createElement('td', null),
850
+ ),
851
+ l.a.createElement(
852
+ 'tr',
853
+ null,
854
+ l.a.createElement('td', null, 'loading'),
855
+ l.a.createElement(
856
+ 'td',
857
+ null,
858
+ '\u8bbe\u7f6e\u6309\u94ae\u8f7d\u5165\u72b6\u6001',
859
+ ),
860
+ l.a.createElement(
861
+ 'td',
862
+ null,
863
+ 'boolean | ',
864
+ '{',
865
+ ' delay: number ',
866
+ '}',
867
+ ),
868
+ l.a.createElement('td', null, 'false'),
869
+ l.a.createElement('td', null),
870
+ ),
871
+ l.a.createElement(
872
+ 'tr',
873
+ null,
874
+ l.a.createElement('td', null, 'shape'),
875
+ l.a.createElement(
876
+ 'td',
877
+ null,
878
+ '\u8bbe\u7f6e\u6309\u94ae\u5f62\u72b6',
879
+ ),
880
+ l.a.createElement(
881
+ 'td',
882
+ null,
883
+ l.a.createElement('code', null, 'circle'),
884
+ ' | ',
885
+ l.a.createElement('code', null, 'round'),
886
+ ),
887
+ l.a.createElement('td', null, '-'),
888
+ l.a.createElement('td', null),
889
+ ),
890
+ l.a.createElement(
891
+ 'tr',
892
+ null,
893
+ l.a.createElement('td', null, 'size'),
894
+ l.a.createElement(
895
+ 'td',
896
+ null,
897
+ '\u8bbe\u7f6e\u6309\u94ae\u5927\u5c0f',
898
+ ),
899
+ l.a.createElement(
900
+ 'td',
901
+ null,
902
+ l.a.createElement('code', null, 'large'),
903
+ ' | ',
904
+ l.a.createElement('code', null, 'middle'),
905
+ ' | ',
906
+ l.a.createElement('code', null, 'small'),
907
+ ),
908
+ l.a.createElement(
909
+ 'td',
910
+ null,
911
+ l.a.createElement('code', null, 'middle'),
912
+ ),
913
+ l.a.createElement('td', null),
914
+ ),
915
+ l.a.createElement(
916
+ 'tr',
917
+ null,
918
+ l.a.createElement('td', null, 'target'),
919
+ l.a.createElement(
920
+ 'td',
921
+ null,
922
+ '\u76f8\u5f53\u4e8e a \u94fe\u63a5\u7684 target \u5c5e\u6027\uff0chref \u5b58\u5728\u65f6\u751f\u6548',
923
+ ),
924
+ l.a.createElement('td', null, 'string'),
925
+ l.a.createElement('td', null, '-'),
926
+ l.a.createElement('td', null),
927
+ ),
928
+ l.a.createElement(
929
+ 'tr',
930
+ null,
931
+ l.a.createElement('td', null, 'type'),
932
+ l.a.createElement(
933
+ 'td',
934
+ null,
935
+ '\u8bbe\u7f6e\u6309\u94ae\u7c7b\u578b',
936
+ ),
937
+ l.a.createElement(
938
+ 'td',
939
+ null,
940
+ l.a.createElement('code', null, 'primary'),
941
+ ' | ',
942
+ l.a.createElement('code', null, 'ghost'),
943
+ ' | ',
944
+ l.a.createElement('code', null, 'dashed'),
945
+ ' | ',
946
+ l.a.createElement('code', null, 'link'),
947
+ ' | ',
948
+ l.a.createElement('code', null, 'text'),
949
+ ' | ',
950
+ l.a.createElement('code', null, 'default'),
951
+ ),
952
+ l.a.createElement(
953
+ 'td',
954
+ null,
955
+ l.a.createElement('code', null, 'default'),
956
+ ),
957
+ l.a.createElement('td', null),
958
+ ),
959
+ l.a.createElement(
960
+ 'tr',
961
+ null,
962
+ l.a.createElement('td', null, 'onClick'),
963
+ l.a.createElement(
964
+ 'td',
965
+ null,
966
+ '\u70b9\u51fb\u6309\u94ae\u65f6\u7684\u56de\u8c03',
967
+ ),
968
+ l.a.createElement('td', null, '(event) => void'),
969
+ l.a.createElement('td', null, '-'),
970
+ l.a.createElement('td', null),
971
+ ),
972
+ ),
973
+ ),
974
+ l.a.createElement(
975
+ 'p',
976
+ null,
977
+ '\u652f\u6301\u539f\u751f button \u7684\u5176\u4ed6\u6240\u6709\u5c5e\u6027\u3002',
978
+ ),
979
+ l.a.createElement(
980
+ 'h2',
981
+ { id: 'faq' },
982
+ l.a.createElement(
983
+ r['AnchorLink'],
984
+ { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
985
+ l.a.createElement('span', { className: 'icon icon-link' }),
986
+ ),
987
+ 'FAQ',
988
+ ),
989
+ l.a.createElement(
990
+ 'h3',
991
+ {
992
+ id: '\u5982\u4f55\u79fb\u9664\u4e24\u4e2a\u6c49\u5b57\u4e4b\u95f4\u7684\u7a7a\u683c',
993
+ },
994
+ l.a.createElement(
995
+ r['AnchorLink'],
996
+ {
997
+ to: '#\u5982\u4f55\u79fb\u9664\u4e24\u4e2a\u6c49\u5b57\u4e4b\u95f4\u7684\u7a7a\u683c',
998
+ 'aria-hidden': 'true',
999
+ tabIndex: -1,
1000
+ },
1001
+ l.a.createElement('span', { className: 'icon icon-link' }),
1002
+ ),
1003
+ '\u5982\u4f55\u79fb\u9664\u4e24\u4e2a\u6c49\u5b57\u4e4b\u95f4\u7684\u7a7a\u683c\uff1f',
1004
+ ),
1005
+ l.a.createElement(
1006
+ 'p',
1007
+ null,
1008
+ '\u6839\u636e Ant Design \u8bbe\u8ba1\u89c4\u8303\u8981\u6c42\uff0c\u6211\u4eec\u4f1a\u5728\u6309\u94ae\u5185(\u6587\u672c\u6309\u94ae\u548c\u94fe\u63a5\u6309\u94ae\u9664\u5916)\u53ea\u6709\u4e24\u4e2a\u6c49\u5b57\u65f6\u81ea\u52a8\u6dfb\u52a0\u7a7a\u683c\uff0c\u5982\u679c\u4f60\u4e0d\u9700\u8981\u8fd9\u4e2a\u7279\u6027\uff0c\u53ef\u4ee5\u8bbe\u7f6e ',
1009
+ l.a.createElement(
1010
+ r['AnchorLink'],
1011
+ { to: '/components/config-provider/#API' },
1012
+ 'ConfigProvider',
1013
+ ),
1014
+ ' \u7684 ',
1015
+ l.a.createElement('code', null, 'autoInsertSpaceInButton'),
1016
+ ' \u4e3a ',
1017
+ l.a.createElement('code', null, 'false'),
1018
+ '\u3002',
1019
+ ),
1020
+ l.a.createElement('img', {
1021
+ src: 'https://gw.alipayobjects.com/zos/antfincdn/MY%26THAPZrW/38f06cb9-293a-4b42-b183-9f443e79ffea.png',
1022
+ style: { boxShadow: 'none', margin: '0', width: '100px' },
1023
+ alt: '\u79fb\u9664\u4e24\u4e2a\u6c49\u5b57\u4e4b\u95f4\u7684\u7a7a\u683c',
1024
+ }),
1025
+ l.a.createElement('style', {
1026
+ dangerouslySetInnerHTML: {
1027
+ __html:
1028
+ '\n[class^="__dumi-default-previewer"] .ant-btn {\n margin-right: 8px;\n margin-bottom: 12px;\n}\n[class^="__dumi-default-previewer"] .ant-btn-rtl {\n margin-right: 0;\n margin-left: 8px;\n}\n[class^="__dumi-default-previewer"] .ant-btn-group > .ant-btn {\n margin-right: 0;\n}\n[class^="__dumi-default-previewer"] .site-button-ghost-wrapper {\n padding: 8px 8px 0 8px;\n background: rgb(190, 200, 200);\n}\n',
1029
+ },
1030
+ }),
1031
+ ),
1032
+ ),
1033
+ )
1034
+ );
1035
+ },
1036
+ },
1037
+ ]);