mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["480b9ed3"],{"480b9ed3":function(e,n,t){"use strict";var d=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return l;}});var a=t("852bbaa9"),s=a._(t("5b220c3d"));t("e201cba1");var r=a._(t("a9d1a279")),o=a._(t("e22febe0"));let l={"segmented-demo-basic":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"8e3e937a"))))),asset:{type:"BLOCK",id:"segmented-demo-basic",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("5de965d1").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u57FA\u672C",description:"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-vertical":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"b32e9692"))))),asset:{type:"BLOCK",id:"segmented-demo-vertical",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("87c61b8f").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5782\u76F4\u65B9\u5411",description:"\u5782\u76F4\u65B9\u5411\u3002"},context:{react:s,"@ant-design/icons":o,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-block":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"06a24169"))))),asset:{type:"BLOCK",id:"segmented-demo-block",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("c3805e31").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Block \u5206\u6BB5\u9009\u62E9\u5668",description:"block \u5C5E\u6027\u4F7F\u5176\u9002\u5408\u7236\u5143\u7D20\u5BBD\u5EA6\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-disabled":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"740b81a6"))))),asset:{type:"BLOCK",id:"segmented-demo-disabled",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("c972681b").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u4E0D\u53EF\u7528",description:"Segmented \u4E0D\u53EF\u7528\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-controlled":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"b7adc962"))))),asset:{type:"BLOCK",id:"segmented-demo-controlled",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("4317b8e2").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u53D7\u63A7\u6A21\u5F0F",description:"\u53D7\u63A7\u7684 Segmented\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-custom":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"c2f1c112"))))),asset:{type:"BLOCK",id:"segmented-demo-custom",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("fb0c74b7").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u6E32\u67D3",description:"\u4F7F\u7528 ReactNode \u81EA\u5B9A\u4E49\u6E32\u67D3\u6BCF\u4E00\u4E2A Segmented Item\u3002"},context:{react:s,"@ant-design/icons":o,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-dynamic":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"5a85b85c"))))),asset:{type:"BLOCK",id:"segmented-demo-dynamic",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("60c82f9e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u52A8\u6001\u6570\u636E",description:"\u52A8\u6001\u52A0\u8F7D\u6570\u636E\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-size":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"f932672d"))))),asset:{type:"BLOCK",id:"segmented-demo-size",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("0e13f12e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u4E09\u79CD\u5927\u5C0F",description:"\u6211\u4EEC\u4E3A <Segmented /> \u7EC4\u4EF6\u5B9A\u4E49\u4E86\u4E09\u79CD\u5C3A\u5BF8\uFF08\u5927\u3001\u9ED8\u8BA4\u3001\u5C0F\uFF09\uFF0C\u9AD8\u5EA6\u5206\u522B\u4E3A 40px\u300132px \u548C 24px\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-with-icon":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"48d2ee0c"))))),asset:{type:"BLOCK",id:"segmented-demo-with-icon",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("d874e87f").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u8BBE\u7F6E\u56FE\u6807",description:"\u7ED9 Segmented Item \u8BBE\u7F6E Icon\u3002"},context:{react:s,"@ant-design/icons":o,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-icon-only":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"addc6572"))))),asset:{type:"BLOCK",id:"segmented-demo-icon-only",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("6bd842ad").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u53EA\u8BBE\u7F6E\u56FE\u6807",description:"\u5728 Segmented Item \u9009\u9879\u4E2D\u53EA\u8BBE\u7F6E Icon\u3002"},context:{react:s,"@ant-design/icons":o,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-controlled-two":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"1baa0330"))))),asset:{type:"BLOCK",id:"segmented-demo-controlled-two",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("fc3cda34").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u53D7\u63A7\u540C\u6B65\u6A21\u5F0F",description:"\u6D4B\u8BD5\u53D7\u63A7\u6A21\u5F0F\u4E0B\u4E24\u4E2A Segmented \u540C\u6B65 state\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-size-consistent":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"99b6cf10"))))),asset:{type:"BLOCK",id:"segmented-demo-size-consistent",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("002c6f97").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u7EDF\u4E00\u9AD8\u5EA6",description:"\u4E0E\u5176\u4ED6\u7EC4\u4EF6\u4FDD\u6301\u7EDF\u4E00\u9AD8\u5EA6\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}},"segmented-demo-componenttoken":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("93e39225")]).then(t.dr(d,t.bind(t,"7cf48ae8"))))),asset:{type:"BLOCK",id:"segmented-demo-componenttoken",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:t("6762884e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u7EC4\u4EF6 Token",description:"\u81EA\u5B9A\u4E49\u7EC4\u4EF6 Token\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(d,t.bind(t,"d2b37e0b")))).default(...e)}}};}}]); |