mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["0a0f52be"],{"0a0f52be":function(e,d,t){"use strict";var n=t("852bbaa9")._;t.d(d,"__esModule",{value:!0}),t.d(d,"demos",{enumerable:!0,get:function(){return o;}});var a=t("852bbaa9"),r=a._(t("5b220c3d"));t("dd5efcee");var s=a._(t("a9d1a279"));let o={"grid-demo-basic":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"689c856a"))))),asset:{type:"BLOCK",id:"grid-demo-basic",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("e6501296").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u57FA\u7840\u6805\u683C",description:"\u4ECE\u5806\u53E0\u5230\u6C34\u5E73\u6392\u5217\u3002\n\n\u4F7F\u7528\u5355\u4E00\u7684\u4E00\u7EC4 Row \u548C Col \u6805\u683C\u7EC4\u4EF6\uFF0C\u5C31\u53EF\u4EE5\u521B\u5EFA\u4E00\u4E2A\u57FA\u672C\u7684\u6805\u683C\u7CFB\u7EDF\uFF0C\u6240\u6709\u5217\uFF08Col\uFF09\u5FC5\u987B\u653E\u5728 Row \u5185\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-gutter":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"4044dc53"))))),asset:{type:"BLOCK",id:"grid-demo-gutter",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("4d023ff8").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u533A\u5757\u95F4\u9694",description:"\u6805\u683C\u5E38\u5E38\u9700\u8981\u548C\u95F4\u9694\u8FDB\u884C\u914D\u5408\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528 Row \u7684 gutter \u5C5E\u6027\uFF0C\u6211\u4EEC\u63A8\u8350\u4F7F\u7528 (16+8n)px \u4F5C\u4E3A\u6805\u683C\u95F4\u9694(n \u662F\u81EA\u7136\u6570)\u3002\n\n\u5982\u679C\u8981\u652F\u6301\u54CD\u5E94\u5F0F\uFF0C\u53EF\u4EE5\u5199\u6210 { xs: 8, sm: 16, md: 24, lg: 32 }\u3002\n\n\u5982\u679C\u9700\u8981\u5782\u76F4\u95F4\u8DDD\uFF0C\u53EF\u4EE5\u5199\u6210\u6570\u7EC4\u5F62\u5F0F [\u6C34\u5E73\u95F4\u8DDD, \u5782\u76F4\u95F4\u8DDD] [16, { xs: 8, sm: 16, md: 24, lg: 32 }]\u3002\n\n> \u6570\u7EC4\u5F62\u5F0F\u5782\u76F4\u95F4\u8DDD\u5728 3.24.0 \u4E4B\u540E\u652F\u6301\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-offset":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"33aea476"))))),asset:{type:"BLOCK",id:"grid-demo-offset",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("11792f28").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5DE6\u53F3\u504F\u79FB",description:"\u5217\u504F\u79FB\u3002\n\n\u4F7F\u7528 offset \u53EF\u4EE5\u5C06\u5217\u5411\u53F3\u4FA7\u504F\u3002\u4F8B\u5982\uFF0Coffset={4} \u5C06\u5143\u7D20\u5411\u53F3\u4FA7\u504F\u79FB\u4E86 4 \u4E2A\u5217\uFF08column\uFF09\u7684\u5BBD\u5EA6\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-sort":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"62ed57ab"))))),asset:{type:"BLOCK",id:"grid-demo-sort",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("3a0ca85d").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u6805\u683C\u6392\u5E8F",description:"\u5217\u6392\u5E8F\u3002\n\n\u901A\u8FC7\u4F7F\u7528 push \u548C pull \u7C7B\u5C31\u53EF\u4EE5\u5F88\u5BB9\u6613\u7684\u6539\u53D8\u5217\uFF08column\uFF09\u7684\u987A\u5E8F\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-flex":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"a6378621"))))),asset:{type:"BLOCK",id:"grid-demo-flex",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("3ef68136").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u6392\u7248",description:"\u5E03\u5C40\u57FA\u7840\u3002\n\n\u5B50\u5143\u7D20\u6839\u636E\u4E0D\u540C\u7684\u503C start\u3001center\u3001end\u3001space-between\u3001space-around \u548C space-evenly\uFF0C\u5206\u522B\u5B9A\u4E49\u5176\u5728\u7236\u8282\u70B9\u91CC\u9762\u7684\u6392\u7248\u65B9\u5F0F\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-flex-align":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"e3b49d1e"))))),asset:{type:"BLOCK",id:"grid-demo-flex-align",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("d1cea296").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5BF9\u9F50",description:"\u5B50\u5143\u7D20\u5782\u76F4\u5BF9\u9F50\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-flex-order":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"dbe2c939"))))),asset:{type:"BLOCK",id:"grid-demo-flex-order",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("bc6c0e9c").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u6392\u5E8F",description:"\u901A\u8FC7 order \u6765\u6539\u53D8\u5143\u7D20\u7684\u6392\u5E8F\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-flex-stretch":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"8182fc68"))))),asset:{type:"BLOCK",id:"grid-demo-flex-stretch",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("54100e74").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Flex \u586B\u5145",description:"Col \u63D0\u4F9B flex \u5C5E\u6027\u4EE5\u652F\u6301\u586B\u5145\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-responsive":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"126405d7"))))),asset:{type:"BLOCK",id:"grid-demo-responsive",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("a7f16d96").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u54CD\u5E94\u5F0F\u5E03\u5C40",description:"\u53C2\u7167 Bootstrap \u7684 \u54CD\u5E94\u5F0F\u8BBE\u8BA1 [http://getbootstrap.com/css/#grid-media-queries]\uFF0C\u9884\u8BBE\u516D\u4E2A\u54CD\u5E94\u5C3A\u5BF8\uFF1Axs sm md lg xl xxl\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-responsive-flex":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"d24784d1"))))),asset:{type:"BLOCK",id:"grid-demo-responsive-flex",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("7682b3f3").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Flex \u54CD\u5E94\u5F0F\u5E03\u5C40",description:"\u652F\u6301\u66F4\u7075\u6D3B\u7684\u54CD\u5E94\u5F0F\u4E0B\u7684\u4EFB\u610F flex \u6BD4\u4F8B\uFF0C\u8BE5\u529F\u80FD\u9700\u8981\u6D4F\u89C8\u5668\u652F\u6301 CSS Variables\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-responsive-more":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"d016d9d9"))))),asset:{type:"BLOCK",id:"grid-demo-responsive-more",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("2e0ecfd4").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5176\u4ED6\u5C5E\u6027\u7684\u54CD\u5E94\u5F0F",description:"span pull push offset order \u5C5E\u6027\u53EF\u4EE5\u901A\u8FC7\u5185\u5D4C\u5230 xs sm md lg xl xxl \u5C5E\u6027\u4E2D\u6765\u4F7F\u7528\u3002\n\n\u5176\u4E2D xs={6} \u76F8\u5F53\u4E8E xs={{ span: 6 }}\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-playground":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"c0308da2"))))),asset:{type:"BLOCK",id:"grid-demo-playground",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("9c78f34a").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u6805\u683C\u914D\u7F6E\u5668",description:"\u53EF\u4EE5\u7B80\u5355\u914D\u7F6E\u51E0\u79CD\u7B49\u5206\u6805\u683C\u548C\u95F4\u8DDD\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"grid-demo-usebreakpoint":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("79838c83")]).then(t.dr(n,t.bind(t,"f3281b48"))))),asset:{type:"BLOCK",id:"grid-demo-usebreakpoint",refAtomIds:["grid"],dependencies:{"index.tsx":{type:"FILE",value:t("873a7567").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"useBreakpoint Hook",description:"\u4F7F\u7528 useBreakpoint Hook \u4E2A\u6027\u5316\u5E03\u5C40\uFF0C\u5176\u4E2D xs \u4EC5\u5F53\u6EE1\u8DB3\u6700\u5C0F\u5BBD\u5EA6\u65F6\u751F\u6548\u3002"},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}}};}}]); |