mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
4.6 KiB
JavaScript
1 line
4.6 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["aa416f63"],{aa416f63:function(e,n,t){"use strict";var o=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return c;}});var a=t("852bbaa9"),d=a._(t("5b220c3d"));t("fdecdea3");var i=a._(t("e22febe0")),s=a._(t("a9d1a279"));let c={"icon-demo-basic":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("db8fe80e")]).then(t.dr(o,t.bind(t,"41a7d990"))))),asset:{type:"BLOCK",id:"icon-demo-basic",refAtomIds:["icon"],dependencies:{"index.tsx":{type:"FILE",value:t("1dce9f63").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:"Basic",description:"Import icons from @ant-design/icons, component name of icons with different theme is the icon name suffixed by the theme name. Specify the spin property to show the spinning animation."},context:{react:d,"@ant-design/icons":i,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"icon-demo-two-tone":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("db8fe80e")]).then(t.dr(o,t.bind(t,"c129e206"))))),asset:{type:"BLOCK",id:"icon-demo-two-tone",refAtomIds:["icon"],dependencies:{"index.tsx":{type:"FILE",value:t("85ea8d82").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:"Two-tone icon and colorful icon",description:"You can set the twoToneColor prop to a specific primary color for two-tone icons."},context:{react:d,"@ant-design/icons":i,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"icon-demo-custom":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("db8fe80e")]).then(t.dr(o,t.bind(t,"8e56c96a"))))),asset:{type:"BLOCK",id:"icon-demo-custom",refAtomIds:["icon"],dependencies:{"index.tsx":{type:"FILE",value:t("d2f7a76e").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:"Custom Icon",description:"Create a reusable React component by using <Icon component={...} />. The property component takes a React component that renders to a svg element."},context:{react:d,"@ant-design/icons":i,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"icon-demo-iconfont":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("db8fe80e")]).then(t.dr(o,t.bind(t,"2cb72e9f"))))),asset:{type:"BLOCK",id:"icon-demo-iconfont",refAtomIds:["icon"],dependencies:{"index.tsx":{type:"FILE",value:t("f6b116e2").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:"Use iconfont.cn",description:"If you are using iconfont.cn [http://iconfont.cn/], you can use the icons in your project gracefully."},context:{react:d,"@ant-design/icons":i,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"icon-demo-scripturl":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("db8fe80e")]).then(t.dr(o,t.bind(t,"64bf1864"))))),asset:{type:"BLOCK",id:"icon-demo-scripturl",refAtomIds:["icon"],dependencies:{"index.tsx":{type:"FILE",value:t("acbf89f1").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:"Multiple resources from iconfont.cn",description:"You can use scriptUrl as an array after @ant-design/icons@4.1.0, to manage icons in one <Icon /> from multiple iconfont.cn [http://iconfont.cn/] resources. If an icon with a duplicate name is in resources, it will be overridden in array order."},context:{react:d,"@ant-design/icons":i,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}}};}}]); |