ant-design/6a9034d6-async.67208277.js
2025-05-31 08:49:44 +00:00

1 line
64 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["6a9034d6"],{"5433035e":function(e,t,s){"use strict";s.d(t,"__esModule",{value:!0}),s.d(t,"texts",{enumerable:!0,get:function(){return r;}}),s("12a967ed");let r=[{value:"\u4F7F\u7528\u56FE\u6807\u7EC4\u4EF6\uFF0C\u4F60\u9700\u8981\u5B89\u88C5 ",paraId:0,tocIndex:0},{value:"@ant-design/icons",paraId:0,tocIndex:0},{value:" \u56FE\u6807\u7EC4\u4EF6\u5305\uFF1A",paraId:0,tocIndex:0},{value:"\u4F7F\u7528 antd v5 \u65F6, \u8BF7\u786E\u4FDD\u5B89\u88C5\u914D\u5957\u7684 @ant-design/icons v5 \u7248\u672C\u3002\u8BE6\u89C1 ",paraId:1},{value:"#53275",paraId:1},{value:"\u5B89\u88C5 ",paraId:2,tocIndex:1},{value:"Kitchen Sketch \u63D2\u4EF6 \u{1F48E}",paraId:2,tocIndex:1},{value:"\uFF0C\u5C31\u53EF\u4EE5\u4E00\u952E\u62D6\u62FD\u4F7F\u7528 Ant Design \u548C Iconfont \u7684\u6D77\u91CF\u56FE\u6807\uFF0C\u8FD8\u53EF\u4EE5\u5173\u8054\u81EA\u6709\u9879\u76EE\u3002",paraId:2,tocIndex:1},{value:"\u4ECE 4.0 \u5F00\u59CB\uFF0Cantd \u4E0D\u518D\u5185\u7F6E Icon \u7EC4\u4EF6\uFF0C\u8BF7\u4F7F\u7528\u72EC\u7ACB\u7684\u5305 ",paraId:3,tocIndex:9},{value:"@ant-design/icons",paraId:3,tocIndex:9},{value:"\u3002",paraId:3,tocIndex:9},{value:"\u53C2\u6570",paraId:4,tocIndex:10},{value:"\u8BF4\u660E",paraId:4,tocIndex:10},{value:"\u7C7B\u578B",paraId:4,tocIndex:10},{value:"\u9ED8\u8BA4\u503C",paraId:4,tocIndex:10},{value:"\u7248\u672C",paraId:4,tocIndex:10},{value:"className",paraId:4,tocIndex:10},{value:"\u8BBE\u7F6E\u56FE\u6807\u7684\u6837\u5F0F\u540D",paraId:4,tocIndex:10},{value:"string",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"rotate",paraId:4,tocIndex:10},{value:"\u56FE\u6807\u65CB\u8F6C\u89D2\u5EA6\uFF08IE9 \u65E0\u6548\uFF09",paraId:4,tocIndex:10},{value:"number",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"spin",paraId:4,tocIndex:10},{value:"\u662F\u5426\u6709\u65CB\u8F6C\u52A8\u753B",paraId:4,tocIndex:10},{value:"boolean",paraId:4,tocIndex:10},{value:"false",paraId:4,tocIndex:10},{value:"style",paraId:4,tocIndex:10},{value:"\u8BBE\u7F6E\u56FE\u6807\u7684\u6837\u5F0F\uFF0C\u4F8B\u5982 ",paraId:4,tocIndex:10},{value:"fontSize",paraId:4,tocIndex:10},{value:" \u548C ",paraId:4,tocIndex:10},{value:"color",paraId:4,tocIndex:10},{value:"CSSProperties",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"twoToneColor",paraId:4,tocIndex:10},{value:"\u4EC5\u9002\u7528\u53CC\u8272\u56FE\u6807\u3002\u8BBE\u7F6E\u53CC\u8272\u56FE\u6807\u7684\u4E3B\u8981\u989C\u8272\uFF0C\u652F\u6301\u8BBE\u7F6E\u5341\u516D\u8FDB\u5236\u989C\u8272\u5B57\u7B26\u4E32",paraId:4,tocIndex:10},{value:"string | string[]",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u5176\u4E2D\u6211\u4EEC\u63D0\u4F9B\u4E86\u4E09\u79CD\u4E3B\u9898\u7684\u56FE\u6807\uFF0C\u4E0D\u540C\u4E3B\u9898\u7684 Icon \u7EC4\u4EF6\u540D\u4E3A\u56FE\u6807\u540D\u52A0\u4E3B\u9898\u505A\u4E3A\u540E\u7F00\u3002",paraId:5,tocIndex:10},{value:"import { StarOutlined, StarFilled, StarTwoTone } from '@ant-design/icons';\n\n<StarOutlined />\n<StarFilled />\n<StarTwoTone twoToneColor=\"#eb2f96\" />\n",paraId:6,tocIndex:10},{value:"\u53C2\u6570",paraId:7,tocIndex:11},{value:"\u8BF4\u660E",paraId:7,tocIndex:11},{value:"\u7C7B\u578B",paraId:7,tocIndex:11},{value:"\u9ED8\u8BA4\u503C",paraId:7,tocIndex:11},{value:"\u7248\u672C",paraId:7,tocIndex:11},{value:"component",paraId:7,tocIndex:11},{value:"\u63A7\u5236\u5982\u4F55\u6E32\u67D3\u56FE\u6807\uFF0C\u901A\u5E38\u662F\u4E00\u4E2A\u6E32\u67D3\u6839\u6807\u7B7E\u4E3A ",paraId:7,tocIndex:11},{value:"<svg>",paraId:7,tocIndex:11},{value:" \u7684 React \u7EC4\u4EF6",paraId:7,tocIndex:11},{value:"ComponentType<CustomIconComponentProps>",paraId:7,tocIndex:11},{value:"-",paraId:7,tocIndex:11},{value:"rotate",paraId:7,tocIndex:11},{value:"\u56FE\u6807\u65CB\u8F6C\u89D2\u5EA6\uFF08IE9 \u65E0\u6548\uFF09",paraId:7,tocIndex:11},{value:"number",paraId:7,tocIndex:11},{value:"-",paraId:7,tocIndex:11},{value:"spin",paraId:7,tocIndex:11},{value:"\u662F\u5426\u6709\u65CB\u8F6C\u52A8\u753B",paraId:7,tocIndex:11},{value:"boolean",paraId:7,tocIndex:11},{value:"false",paraId:7,tocIndex:11},{value:"style",paraId:7,tocIndex:11},{value:"\u8BBE\u7F6E\u56FE\u6807\u7684\u6837\u5F0F\uFF0C\u4F8B\u5982 ",paraId:7,tocIndex:11},{value:"fontSize",paraId:7,tocIndex:11},{value:" \u548C ",paraId:7,tocIndex:11},{value:"color",paraId:7,tocIndex:11},{value:"CSSProperties",paraId:7,tocIndex:11},{value:"-",paraId:7,tocIndex:11},{value:"\u5728 ",paraId:8,tocIndex:12},{value:"3.9.0",paraId:8,tocIndex:12},{value:" \u4E4B\u540E\uFF0C\u6211\u4EEC\u4F7F\u7528\u4E86 SVG \u56FE\u6807\u66FF\u6362\u4E86\u539F\u5148\u7684 font \u56FE\u6807\uFF0C\u4ECE\u800C\u5E26\u6765\u4E86\u4EE5\u4E0B\u4F18\u52BF\uFF1A",paraId:8,tocIndex:12},{value:"\u5B8C\u5168\u79BB\u7EBF\u5316\u4F7F\u7528\uFF0C\u4E0D\u9700\u8981\u4ECE CDN \u4E0B\u8F7D\u5B57\u4F53\u6587\u4EF6\uFF0C\u56FE\u6807\u4E0D\u4F1A\u56E0\u4E3A\u7F51\u7EDC\u95EE\u9898\u5448\u73B0\u65B9\u5757\uFF0C\u4E5F\u65E0\u9700\u5B57\u4F53\u6587\u4EF6\u672C\u5730\u90E8\u7F72\u3002",paraId:9,tocIndex:12},{value:"\u5728\u4F4E\u7AEF\u8BBE\u5907\u4E0A SVG \u6709\u66F4\u597D\u7684\u6E05\u6670\u5EA6\u3002",paraId:9,tocIndex:12},{value:"\u652F\u6301\u591A\u8272\u56FE\u6807\u3002",paraId:9,tocIndex:12},{value:"\u5BF9\u4E8E\u5185\u5EFA\u56FE\u6807\u7684\u66F4\u6362\u53EF\u4EE5\u63D0\u4F9B\u66F4\u591A API\uFF0C\u800C\u4E0D\u9700\u8981\u8FDB\u884C\u6837\u5F0F\u8986\u76D6\u3002",paraId:9,tocIndex:12},{value:"\u66F4\u591A\u8BA8\u8BBA\u53EF\u53C2\u8003\uFF1A",paraId:10,tocIndex:12},{value:"#10353",paraId:10,tocIndex:12},{value:"\u3002",paraId:10,tocIndex:12},{value:"\u6240\u6709\u7684\u56FE\u6807\u90FD\u4F1A\u4EE5 ",paraId:11,tocIndex:12},{value:"<svg>",paraId:11,tocIndex:12},{value:" \u6807\u7B7E\u6E32\u67D3\uFF0C\u53EF\u4EE5\u4F7F\u7528 ",paraId:11,tocIndex:12},{value:"style",paraId:11,tocIndex:12},{value:" \u548C ",paraId:11,tocIndex:12},{value:"className",paraId:11,tocIndex:12},{value:" \u8BBE\u7F6E\u56FE\u6807\u7684\u5927\u5C0F\u548C\u5355\u8272\u56FE\u6807\u7684\u989C\u8272\u3002\u4F8B\u5982\uFF1A",paraId:11,tocIndex:12},{value:"import { MessageOutlined } from '@ant-design/icons';\n\n<MessageOutlined style={{ fontSize: '16px', color: '#08c' }} />;\n",paraId:12,tocIndex:12},{value:"\u5BF9\u4E8E\u53CC\u8272\u56FE\u6807\uFF0C\u53EF\u4EE5\u901A\u8FC7\u4F7F\u7528 ",paraId:13,tocIndex:13},{value:"getTwoToneColor()",paraId:13,tocIndex:13},{value:" \u548C ",paraId:13,tocIndex:13},{value:"setTwoToneColor(colorString)",paraId:13,tocIndex:13},{value:" \u6765\u5168\u5C40\u8BBE\u7F6E\u56FE\u6807\u4E3B\u8272\u3002",paraId:13,tocIndex:13},{value:"import { getTwoToneColor, setTwoToneColor } from '@ant-design/icons';\n\nsetTwoToneColor('#eb2f96');\ngetTwoToneColor(); // #eb2f96\n",paraId:14,tocIndex:13},{value:"\u5728 ",paraId:15,tocIndex:14},{value:"3.9.0",paraId:15,tocIndex:14},{value:" \u4E4B\u540E\uFF0C\u6211\u4EEC\u63D0\u4F9B\u4E86\u4E00\u4E2A ",paraId:15,tocIndex:14},{value:"createFromIconfontCN",paraId:15,tocIndex:14},{value:" \u65B9\u6CD5\uFF0C\u65B9\u4FBF\u5F00\u53D1\u8005\u8C03\u7528\u5728 ",paraId:15,tocIndex:14},{value:"iconfont.cn",paraId:15,tocIndex:14},{value:" \u4E0A\u81EA\u884C\u7BA1\u7406\u7684\u56FE\u6807\u3002",paraId:15,tocIndex:14},{value:"import React from 'react';\nimport { createFromIconfontCN } from '@ant-design/icons';\nimport ReactDOM from 'react-dom/client';\n\nconst MyIcon = createFromIconfontCN({\n scriptUrl: '//at.alicdn.com/t/font_8d5l8fzk5b87iudi.js', // \u5728 iconfont.cn \u4E0A\u751F\u6210\n});\n\nReactDOM.createRoot(mountNode).render(<MyIcon type=\"icon-example\" />);\n",paraId:16,tocIndex:14},{value:"\u5176\u672C\u8D28\u4E0A\u662F\u521B\u5EFA\u4E86\u4E00\u4E2A\u4F7F\u7528 ",paraId:17,tocIndex:14},{value:"<use>",paraId:17,tocIndex:14},{value:" \u6807\u7B7E\u6765\u6E32\u67D3\u56FE\u6807\u7684\u7EC4\u4EF6\u3002",paraId:17,tocIndex:14},{value:"options \u7684\u914D\u7F6E\u9879\u5982\u4E0B\uFF1A",paraId:18,tocIndex:14},{value:"\u53C2\u6570",paraId:19,tocIndex:14},{value:"\u8BF4\u660E",paraId:19,tocIndex:14},{value:"\u7C7B\u578B",paraId:19,tocIndex:14},{value:"\u9ED8\u8BA4\u503C",paraId:19,tocIndex:14},{value:"\u7248\u672C",paraId:19,tocIndex:14},{value:"extraCommonProps",paraId:19,tocIndex:14},{value:"\u7ED9\u6240\u6709\u7684 ",paraId:19,tocIndex:14},{value:"svg",paraId:19,tocIndex:14},{value:" \u56FE\u6807 ",paraId:19,tocIndex:14},{value:"<Icon />",paraId:19,tocIndex:14},{value:" \u7EC4\u4EF6\u8BBE\u7F6E\u989D\u5916\u7684\u5C5E\u6027",paraId:19,tocIndex:14},{value:"{ [key: string]: any }",paraId:19,tocIndex:14},{value:"{}",paraId:19,tocIndex:14},{value:"scriptUrl",paraId:19,tocIndex:14},{value:"iconfont.cn",paraId:19,tocIndex:14},{value:" \u9879\u76EE\u5728\u7EBF\u751F\u6210\u7684 js \u5730\u5740\uFF0C",paraId:19,tocIndex:14},{value:"@ant-design/icons@4.1.0",paraId:19,tocIndex:14},{value:" \u4E4B\u540E\u652F\u6301 ",paraId:19,tocIndex:14},{value:"string[]",paraId:19,tocIndex:14},{value:" \u7C7B\u578B",paraId:19,tocIndex:14},{value:"string | string[]",paraId:19,tocIndex:14},{value:"-",paraId:19,tocIndex:14},{value:"\u5728 ",paraId:20,tocIndex:14},{value:"scriptUrl",paraId:20,tocIndex:14},{value:" \u90FD\u8BBE\u7F6E\u6709\u6548\u7684\u60C5\u51B5\u4E0B\uFF0C\u7EC4\u4EF6\u5728\u6E32\u67D3\u524D\u4F1A\u81EA\u52A8\u5F15\u5165 ",paraId:20,tocIndex:14},{value:"iconfont.cn",paraId:20,tocIndex:14},{value:" \u9879\u76EE\u4E2D\u7684\u56FE\u6807\u7B26\u53F7\u96C6\uFF0C\u65E0\u9700\u624B\u52A8\u5F15\u5165\u3002",paraId:20,tocIndex:14},{value:"\u89C1 ",paraId:21,tocIndex:14},{value:"iconfont.cn \u4F7F\u7528\u5E2E\u52A9",paraId:21,tocIndex:14},{value:" \u67E5\u770B\u5982\u4F55\u751F\u6210 js \u5730\u5740\u3002",paraId:21,tocIndex:14},{value:"\u5982\u679C\u4F7F\u7528 ",paraId:22,tocIndex:15},{value:"webpack",paraId:22,tocIndex:15},{value:"\uFF0C\u53EF\u4EE5\u901A\u8FC7\u914D\u7F6E ",paraId:22,tocIndex:15},{value:"@svgr/webpack",paraId:22,tocIndex:15},{value:" \u6765\u5C06 ",paraId:22,tocIndex:15},{value:"svg",paraId:22,tocIndex:15},{value:" \u56FE\u6807\u4F5C\u4E3A ",paraId:22,tocIndex:15},{value:"React",paraId:22,tocIndex:15},{value:" \u7EC4\u4EF6\u5BFC\u5165\u3002",paraId:22,tocIndex:15},{value:"@svgr/webpack",paraId:22,tocIndex:15},{value:" \u7684 ",paraId:22,tocIndex:15},{value:"options",paraId:22,tocIndex:15},{value:" \u9009\u9879\u8BF7\u53C2\u9605 ",paraId:22,tocIndex:15},{value:"svgr \u6587\u6863",paraId:22,tocIndex:15},{value:"\u3002",paraId:22,tocIndex:15},{value:"// webpack.config.js\nmodule.exports = {\n // ... other config\n test: /\\.svg(\\?v=\\d+\\.\\d+\\.\\d+)?$/,\n use: [\n {\n loader: 'babel-loader',\n },\n {\n loader: '@svgr/webpack',\n options: {\n babel: false,\n icon: true,\n },\n },\n ],\n};\n",paraId:23,tocIndex:15},{value:"\u5982\u679C\u4F7F\u7528 ",paraId:24,tocIndex:15},{value:"vite",paraId:24,tocIndex:15},{value:"\uFF0C\u53EF\u4EE5\u901A\u8FC7\u914D\u7F6E ",paraId:24,tocIndex:15},{value:"vite-plugin-svgr",paraId:24,tocIndex:15},{value:" \u6765\u5C06 ",paraId:24,tocIndex:15},{value:"svg",paraId:24,tocIndex:15},{value:" \u56FE\u6807\u4F5C\u4E3A ",paraId:24,tocIndex:15},{value:"React",paraId:24,tocIndex:15},{value:" \u7EC4\u4EF6\u5BFC\u5165\u3002",paraId:24,tocIndex:15},{value:"vite-plugin-svgr",paraId:24,tocIndex:15},{value:" \u7684 ",paraId:24,tocIndex:15},{value:"options",paraId:24,tocIndex:15},{value:" \u9009\u9879\u8BF7\u53C2\u9605 ",paraId:24,tocIndex:15},{value:"svgr \u6587\u6863",paraId:24,tocIndex:15},{value:"\u3002",paraId:24,tocIndex:15},{value:"// vite.config.js\nexport default defineConfig(() => ({\n // ... other config\n plugins: [svgr({ svgrOptions: { icon: true } })],\n}));\n",paraId:25,tocIndex:15},{value:"import React from 'react';\nimport Icon from '@ant-design/icons';\nimport MessageSvg from 'path/to/message.svg'; // \u4F60\u7684 '*.svg' \u6587\u4EF6\u8DEF\u5F84\n\n// import MessageSvg from 'path/to/message.svg?react'; // \u4F7F\u7528vite \u4F60\u7684 '*.svg?react' \u6587\u4EF6\u8DEF\u5F84.\nimport ReactDOM from 'react-dom/client';\n\n// in create-react-app:\n// import { ReactComponent as MessageSvg } from 'path/to/message.svg';\n\nReactDOM.createRoot(mountNode).render(<Icon component={MessageSvg} />);\n",paraId:26,tocIndex:15},{value:"Icon",paraId:27,tocIndex:15},{value:" \u4E2D\u7684 ",paraId:27,tocIndex:15},{value:"component",paraId:27,tocIndex:15},{value:" \u7EC4\u4EF6\u7684\u63A5\u53D7\u7684\u5C5E\u6027\u5982\u4E0B\uFF1A",paraId:27,tocIndex:15},{value:"\u5B57\u6BB5",paraId:28,tocIndex:15},{value:"\u8BF4\u660E",paraId:28,tocIndex:15},{value:"\u7C7B\u578B",paraId:28,tocIndex:15},{value:"\u53EA\u8BFB\u503C",paraId:28,tocIndex:15},{value:"\u7248\u672C",paraId:28,tocIndex:15},{value:"className",paraId:28,tocIndex:15},{value:"\u8BA1\u7B97\u540E\u7684 ",paraId:28,tocIndex:15},{value:"svg",paraId:28,tocIndex:15},{value:" \u7C7B\u540D",paraId:28,tocIndex:15},{value:"string",paraId:28,tocIndex:15},{value:"-",paraId:28,tocIndex:15},{value:"fill",paraId:28,tocIndex:15},{value:"svg",paraId:28,tocIndex:15},{value:" \u5143\u7D20\u586B\u5145\u7684\u989C\u8272",paraId:28,tocIndex:15},{value:"string",paraId:28,tocIndex:15},{value:"currentColor",paraId:28,tocIndex:15},{value:"height",paraId:28,tocIndex:15},{value:"svg",paraId:28,tocIndex:15},{value:" \u5143\u7D20\u9AD8\u5EA6",paraId:28,tocIndex:15},{value:"string | number",paraId:28,tocIndex:15},{value:"1em",paraId:28,tocIndex:15},{value:"style",paraId:28,tocIndex:15},{value:"\u8BA1\u7B97\u540E\u7684 ",paraId:28,tocIndex:15},{value:"svg",paraId:28,tocIndex:15},{value:" \u5143\u7D20\u6837\u5F0F",paraId:28,tocIndex:15},{value:"CSSProperties",paraId:28,tocIndex:15},{value:"-",paraId:28,tocIndex:15},{value:"width",paraId:28,tocIndex:15},{value:"svg",paraId:28,tocIndex:15},{value:" \u5143\u7D20\u5BBD\u5EA6",paraId:28,tocIndex:15},{value:"string | number",paraId:28,tocIndex:15},{value:"1em",paraId:28,tocIndex:15}];},"6a9034d6":function(e,t,s){"use strict";s.d(t,"__esModule",{value:!0}),s.d(t,"default",{enumerable:!0,get:function(){return g;}});var r=s("777fffbe"),a=s("f19d2b93"),n=r._(s("769c016e")),c=r._(s("b622e337")),o=r._(s("67074e5d")),i=r._(s("3098b24f")),d=r._(s("84b131b4")),l=r._(s("8d58af48")),p=r._(s("5437c7d5")),u=r._(s("97c488ea")),x=r._(s("c96b0d01")),m=s("5b220c3d"),h=s("9c86e52a"),v=s("5433035e"),g=function(){return(0,a.jsx)(h.DumiPage,{children:(0,a.jsx)(m.Suspense,{fallback:(0,a.jsx)(x.default,{}),children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"how-to-use",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#how-to-use",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528\u65B9\u6CD5"]}),(0,a.jsxs)("p",{children:[v.texts[0].value,(0,a.jsx)(u.default,{href:"https://github.com/ant-design/ant-design-icons",sourceType:"a",children:v.texts[1].value}),v.texts[2].value]})]}),(0,a.jsx)(p.default,{npm:"npm install @ant-design/icons@5.x --save",yarn:"yarn add @ant-design/icons@5.x",pnpm:"pnpm install @ant-design/icons@5.x --save",bun:"bun add @ant-design/icons@5.x"}),(0,a.jsx)(n.default,{type:"warning",title:"\u6E29\u99A8\u63D0\u793A",children:(0,a.jsxs)("p",{children:[v.texts[3].value,(0,a.jsx)(u.default,{href:"https://github.com/ant-design/ant-design/issues/53275#issuecomment-2747448317",sourceType:"a",children:v.texts[4].value})]})}),(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"designers-exclusive",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#designers-exclusive",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u8BBE\u8BA1\u5E08\u4E13\u5C5E"]}),(0,a.jsxs)("p",{children:[v.texts[5].value,(0,a.jsx)(u.default,{href:"https://kitchen.alipay.com",sourceType:"a",children:v.texts[6].value}),v.texts[7].value]}),(0,a.jsxs)("h2",{id:"list-of-icons",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#list-of-icons",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u56FE\u6807\u5217\u8868"]})]}),(0,a.jsx)(l.default,{}),(0,a.jsx)("div",{className:"markdown",children:(0,a.jsxs)("h2",{id:"examples",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#examples",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})}),(0,a.jsx)(d.default,{items:[{demo:{id:"icon-demo-basic"},previewerProps:{title:"\u57FA\u672C\u7528\u6CD5",filename:"components/icon/demo/basic.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.3","@ant-design/v5-patch-for-react-19":"^1.0.2","@antfu/eslint-config":"^4.0.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.4.0","@codesandbox/sandpack-react":"^2.19.10","@dnd-kit/core":"^6.2.0","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.5","@emotion/react":"^11.13.5","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.17.1","@ianvs/prettier-plugin-sort-imports":"^4.4.0","@inquirer/prompts":"^7.1.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^22.0.0","@prettier/sync":"^0.5.4","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.6","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/css-tree":"^2.3.10","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.10.1","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/react":"^19.0.1","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^19.0.2","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.1","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^5.0.0",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0","css-tree":"^3.1.0","csstree-validator":"^4.0.1","cypress-image-diff-html-report":"2.2.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.20","dumi-plugin-color-chunk":"^2.1.0","env-paths":"^3.0.0",eslint:"^9.23.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.9.0","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.14","fast-glob":"^3.3.2","fs-extra":"^11.2.0","gh-pages":"^6.2.0","github-slugger":"^2.0.0",glob:"^11.0.0","hast-util-to-string":"^3.0.1",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^4.0.0","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^10.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^11.0.0",jquery:"^3.7.1",jsdom:"^26.0.0","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^16.0.0",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0","package-manager-detector":"^1.0.0",pixelmatch:"^7.1.0",pngjs:"^7.0.0",prettier:"^3.4.1","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^24.7.1","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.17.0",react:"^19.1.0","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^19.1.0","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.21.0","react-icons":"^5.4.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^7.0.1","react-scan":"^0.3.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.34.0","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"^4.19.2",typedoc:"^0.28.0",typescript:"~5.8.2","vanilla-jsoneditor":"^3.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.97.1","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.2.1","@ant-design/cssinjs":"^1.23.0","@ant-design/cssinjs-utils":"^1.1.3","@ant-design/fast-color":"^2.0.6","@ant-design/icons":"^5.6.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.26.0","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.6",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.34.0","rc-checkbox":"~3.5.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.3.0","rc-dropdown":"~4.2.1","rc-field-form":"~2.7.0","rc-image":"~7.12.0","rc-input":"~1.8.0","rc-input-number":"~9.5.0","rc-mentions":"~2.20.0","rc-menu":"~9.16.1","rc-motion":"^2.9.5","rc-notification":"~5.6.4","rc-pagination":"~5.1.0","rc-picker":"~4.11.3","rc-progress":"~4.0.0","rc-rate":"~2.13.1","rc-resize-observer":"^1.4.3","rc-segmented":"~2.7.0","rc-select":"~14.16.8","rc-slider":"~11.1.8","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.50.5","rc-tabs":"~15.6.1","rc-textarea":"~1.10.0","rc-tooltip":"~6.4.0","rc-tree":"~5.13.1","rc-tree-select":"~5.27.0","rc-upload":"~4.9.2","rc-util":"^5.44.4","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React from 'react';\nimport {\n HomeOutlined,\n LoadingOutlined,\n SettingFilled,\n SmileOutlined,\n SyncOutlined,\n} from '@ant-design/icons';\nimport { Space } from 'antd';\nconst App = () => (\n <Space>\n <HomeOutlined />\n <SettingFilled />\n <SmileOutlined />\n <SyncOutlined spin />\n <SmileOutlined rotate={180} />\n <LoadingOutlined />\n </Space>\n);\nexport default App;\n",description:"<p>\u901A\u8FC7 <code>@ant-design/icons</code> \u5F15\u7528 Icon \u7EC4\u4EF6\uFF0C\u4E0D\u540C\u4E3B\u9898\u7684 Icon \u7EC4\u4EF6\u540D\u4E3A\u56FE\u6807\u540D\u52A0\u4E3B\u9898\u505A\u4E3A\u540E\u7F00\uFF0C\u4E5F\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E <code>spin</code> \u5C5E\u6027\u6765\u5B9E\u73B0\u52A8\u753B\u65CB\u8F6C\u6548\u679C\u3002</p>"}},{demo:{id:"icon-demo-two-tone"},previewerProps:{title:"\u591A\u8272\u56FE\u6807",filename:"components/icon/demo/two-tone.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.3","@ant-design/v5-patch-for-react-19":"^1.0.2","@antfu/eslint-config":"^4.0.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.4.0","@codesandbox/sandpack-react":"^2.19.10","@dnd-kit/core":"^6.2.0","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.5","@emotion/react":"^11.13.5","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.17.1","@ianvs/prettier-plugin-sort-imports":"^4.4.0","@inquirer/prompts":"^7.1.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^22.0.0","@prettier/sync":"^0.5.4","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.6","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/css-tree":"^2.3.10","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.10.1","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/react":"^19.0.1","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^19.0.2","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.1","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^5.0.0",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0","css-tree":"^3.1.0","csstree-validator":"^4.0.1","cypress-image-diff-html-report":"2.2.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.20","dumi-plugin-color-chunk":"^2.1.0","env-paths":"^3.0.0",eslint:"^9.23.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.9.0","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.14","fast-glob":"^3.3.2","fs-extra":"^11.2.0","gh-pages":"^6.2.0","github-slugger":"^2.0.0",glob:"^11.0.0","hast-util-to-string":"^3.0.1",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^4.0.0","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^10.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^11.0.0",jquery:"^3.7.1",jsdom:"^26.0.0","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^16.0.0",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0","package-manager-detector":"^1.0.0",pixelmatch:"^7.1.0",pngjs:"^7.0.0",prettier:"^3.4.1","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^24.7.1","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.17.0",react:"^19.1.0","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^19.1.0","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.21.0","react-icons":"^5.4.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^7.0.1","react-scan":"^0.3.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.34.0","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"^4.19.2",typedoc:"^0.28.0",typescript:"~5.8.2","vanilla-jsoneditor":"^3.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.97.1","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.2.1","@ant-design/cssinjs":"^1.23.0","@ant-design/cssinjs-utils":"^1.1.3","@ant-design/fast-color":"^2.0.6","@ant-design/icons":"^5.6.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.26.0","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.6",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.34.0","rc-checkbox":"~3.5.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.3.0","rc-dropdown":"~4.2.1","rc-field-form":"~2.7.0","rc-image":"~7.12.0","rc-input":"~1.8.0","rc-input-number":"~9.5.0","rc-mentions":"~2.20.0","rc-menu":"~9.16.1","rc-motion":"^2.9.5","rc-notification":"~5.6.4","rc-pagination":"~5.1.0","rc-picker":"~4.11.3","rc-progress":"~4.0.0","rc-rate":"~2.13.1","rc-resize-observer":"^1.4.3","rc-segmented":"~2.7.0","rc-select":"~14.16.8","rc-slider":"~11.1.8","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.50.5","rc-tabs":"~15.6.1","rc-textarea":"~1.10.0","rc-tooltip":"~6.4.0","rc-tree":"~5.13.1","rc-tree-select":"~5.27.0","rc-upload":"~4.9.2","rc-util":"^5.44.4","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React from 'react';\nimport { CheckCircleTwoTone, HeartTwoTone, SmileTwoTone } from '@ant-design/icons';\nimport { Space } from 'antd';\nconst App = () => (\n <Space>\n <SmileTwoTone />\n <HeartTwoTone twoToneColor=\"#eb2f96\" />\n <CheckCircleTwoTone twoToneColor=\"#52c41a\" />\n </Space>\n);\nexport default App;\n",description:"<p>\u53CC\u8272\u56FE\u6807\u53EF\u4EE5\u901A\u8FC7 <code>twoToneColor</code> \u5C5E\u6027\u8BBE\u7F6E\u4E3B\u9898\u8272\u3002</p>"}},{demo:{id:"icon-demo-custom"},previewerProps:{title:"\u81EA\u5B9A\u4E49\u56FE\u6807",filename:"components/icon/demo/custom.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.3","@ant-design/v5-patch-for-react-19":"^1.0.2","@antfu/eslint-config":"^4.0.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.4.0","@codesandbox/sandpack-react":"^2.19.10","@dnd-kit/core":"^6.2.0","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.5","@emotion/react":"^11.13.5","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.17.1","@ianvs/prettier-plugin-sort-imports":"^4.4.0","@inquirer/prompts":"^7.1.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^22.0.0","@prettier/sync":"^0.5.4","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.6","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/css-tree":"^2.3.10","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.10.1","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/react":"^19.0.1","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^19.0.2","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.1","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^5.0.0",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0","css-tree":"^3.1.0","csstree-validator":"^4.0.1","cypress-image-diff-html-report":"2.2.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.20","dumi-plugin-color-chunk":"^2.1.0","env-paths":"^3.0.0",eslint:"^9.23.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.9.0","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.14","fast-glob":"^3.3.2","fs-extra":"^11.2.0","gh-pages":"^6.2.0","github-slugger":"^2.0.0",glob:"^11.0.0","hast-util-to-string":"^3.0.1",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^4.0.0","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^10.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^11.0.0",jquery:"^3.7.1",jsdom:"^26.0.0","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^16.0.0",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0","package-manager-detector":"^1.0.0",pixelmatch:"^7.1.0",pngjs:"^7.0.0",prettier:"^3.4.1","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^24.7.1","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.17.0",react:"^19.1.0","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^19.1.0","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.21.0","react-icons":"^5.4.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^7.0.1","react-scan":"^0.3.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.34.0","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"^4.19.2",typedoc:"^0.28.0",typescript:"~5.8.2","vanilla-jsoneditor":"^3.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.97.1","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.2.1","@ant-design/cssinjs":"^1.23.0","@ant-design/cssinjs-utils":"^1.1.3","@ant-design/fast-color":"^2.0.6","@ant-design/icons":"^5.6.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.26.0","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.6",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.34.0","rc-checkbox":"~3.5.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.3.0","rc-dropdown":"~4.2.1","rc-field-form":"~2.7.0","rc-image":"~7.12.0","rc-input":"~1.8.0","rc-input-number":"~9.5.0","rc-mentions":"~2.20.0","rc-menu":"~9.16.1","rc-motion":"^2.9.5","rc-notification":"~5.6.4","rc-pagination":"~5.1.0","rc-picker":"~4.11.3","rc-progress":"~4.0.0","rc-rate":"~2.13.1","rc-resize-observer":"^1.4.3","rc-segmented":"~2.7.0","rc-select":"~14.16.8","rc-slider":"~11.1.8","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.50.5","rc-tabs":"~15.6.1","rc-textarea":"~1.10.0","rc-tooltip":"~6.4.0","rc-tree":"~5.13.1","rc-tree-select":"~5.27.0","rc-upload":"~4.9.2","rc-util":"^5.44.4","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:'import React from \'react\';\nimport Icon, { HomeOutlined } from \'@ant-design/icons\';\nimport { Space } from \'antd\';\nconst HeartSvg = () => (\n <svg width="1em" height="1em" fill="currentColor" viewBox="0 0 1024 1024">\n <title>heart icon</title>\n <path d="M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3 0.1-35.3-7-69.6-20.9-101.9z" />\n </svg>\n);\nconst PandaSvg = () => (\n <svg viewBox="0 0 1024 1024" width="1em" height="1em" fill="currentColor">\n <title>Panda icon</title>\n <path\n d="M99.096 315.634s-82.58-64.032-82.58-132.13c0-66.064 33.032-165.162 148.646-148.646 83.37 11.91 99.096 165.162 99.096 165.162l-165.162 115.614zM924.906 315.634s82.58-64.032 82.58-132.13c0-66.064-33.032-165.162-148.646-148.646-83.37 11.91-99.096 165.162-99.096 165.162l165.162 115.614z"\n fill="#6B676E"\n />\n <path\n d="M1024 561.548c0 264.526-229.23 429.42-512.002 429.42S0 826.076 0 561.548 283.96 66.064 512.002 66.064 1024 297.022 1024 561.548z"\n fill="#FFEBD2"\n />\n <path\n d="M330.324 842.126c0 82.096 81.34 148.646 181.678 148.646s181.678-66.55 181.678-148.646H330.324z"\n fill="#E9D7C3"\n />\n <path\n d="M644.13 611.098C594.582 528.516 561.55 512 512.002 512c-49.548 0-82.58 16.516-132.13 99.096-42.488 70.814-78.73 211.264-49.548 247.742 66.064 82.58 165.162 33.032 181.678 33.032 16.516 0 115.614 49.548 181.678-33.032 29.18-36.476-7.064-176.93-49.55-247.74z"\n fill="#FFFFFF"\n />\n <path\n d="M611.098 495.484c0-45.608 36.974-82.58 82.58-82.58 49.548 0 198.194 99.098 198.194 165.162s-79.934 144.904-148.646 99.096c-49.548-33.032-132.128-148.646-132.128-181.678zM412.904 495.484c0-45.608-36.974-82.58-82.58-82.58-49.548 0-198.194 99.098-198.194 165.162s79.934 144.904 148.646 99.096c49.548-33.032 132.128-148.646 132.128-181.678z"\n fill="#6B676E"\n />\n <path\n d="M512.002 726.622c-30.06 0-115.614 5.668-115.614 33.032 0 49.638 105.484 85.24 115.614 82.58 10.128 2.66 115.614-32.944 115.614-82.58-0.002-27.366-85.556-33.032-115.614-33.032z"\n fill="#464655"\n />\n <path\n d="M330.324 495.484m-33.032 0a33.032 33.032 0 1 0 66.064 0 33.032 33.032 0 1 0-66.064 0Z"\n fill="#464655"\n />\n <path\n d="M693.678 495.484m-33.032 0a33.032 33.032 0 1 0 66.064 0 33.032 33.032 0 1 0-66.064 0Z"\n fill="#464655"\n />\n </svg>\n);\nconst HeartIcon = props => <Icon component={HeartSvg} {...props} />;\nconst PandaIcon = props => <Icon component={PandaSvg} {...props} />;\nconst App = () => (\n <Space>\n <HeartIcon style={{ color: \'hotpink\' }} />\n <PandaIcon style={{ fontSize: \'32px\' }} />\n <Icon component={HomeOutlined} />\n <HomeOutlined />\n </Space>\n);\nexport default App;\n',description:"<p>\u5229\u7528 <code>Icon</code> \u7EC4\u4EF6\u5C01\u88C5\u4E00\u4E2A\u53EF\u590D\u7528\u7684\u81EA\u5B9A\u4E49\u56FE\u6807\u3002\u53EF\u4EE5\u901A\u8FC7 <code>component</code> \u5C5E\u6027\u4F20\u5165\u4E00\u4E2A\u7EC4\u4EF6\u6765\u6E32\u67D3\u6700\u7EC8\u7684\u56FE\u6807\uFF0C\u4EE5\u6EE1\u8DB3\u7279\u5B9A\u7684\u9700\u6C42\u3002</p>"}},{demo:{id:"icon-demo-iconfont"},previewerProps:{title:"\u4F7F\u7528 iconfont.cn",filename:"components/icon/demo/iconfont.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.3","@ant-design/v5-patch-for-react-19":"^1.0.2","@antfu/eslint-config":"^4.0.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.4.0","@codesandbox/sandpack-react":"^2.19.10","@dnd-kit/core":"^6.2.0","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.5","@emotion/react":"^11.13.5","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.17.1","@ianvs/prettier-plugin-sort-imports":"^4.4.0","@inquirer/prompts":"^7.1.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^22.0.0","@prettier/sync":"^0.5.4","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.6","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/css-tree":"^2.3.10","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.10.1","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/react":"^19.0.1","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^19.0.2","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.1","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^5.0.0",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0","css-tree":"^3.1.0","csstree-validator":"^4.0.1","cypress-image-diff-html-report":"2.2.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.20","dumi-plugin-color-chunk":"^2.1.0","env-paths":"^3.0.0",eslint:"^9.23.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.9.0","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.14","fast-glob":"^3.3.2","fs-extra":"^11.2.0","gh-pages":"^6.2.0","github-slugger":"^2.0.0",glob:"^11.0.0","hast-util-to-string":"^3.0.1",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^4.0.0","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^10.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^11.0.0",jquery:"^3.7.1",jsdom:"^26.0.0","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^16.0.0",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0","package-manager-detector":"^1.0.0",pixelmatch:"^7.1.0",pngjs:"^7.0.0",prettier:"^3.4.1","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^24.7.1","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.17.0",react:"^19.1.0","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^19.1.0","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.21.0","react-icons":"^5.4.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^7.0.1","react-scan":"^0.3.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.34.0","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"^4.19.2",typedoc:"^0.28.0",typescript:"~5.8.2","vanilla-jsoneditor":"^3.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.97.1","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.2.1","@ant-design/cssinjs":"^1.23.0","@ant-design/cssinjs-utils":"^1.1.3","@ant-design/fast-color":"^2.0.6","@ant-design/icons":"^5.6.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.26.0","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.6",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.34.0","rc-checkbox":"~3.5.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.3.0","rc-dropdown":"~4.2.1","rc-field-form":"~2.7.0","rc-image":"~7.12.0","rc-input":"~1.8.0","rc-input-number":"~9.5.0","rc-mentions":"~2.20.0","rc-menu":"~9.16.1","rc-motion":"^2.9.5","rc-notification":"~5.6.4","rc-pagination":"~5.1.0","rc-picker":"~4.11.3","rc-progress":"~4.0.0","rc-rate":"~2.13.1","rc-resize-observer":"^1.4.3","rc-segmented":"~2.7.0","rc-select":"~14.16.8","rc-slider":"~11.1.8","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.50.5","rc-tabs":"~15.6.1","rc-textarea":"~1.10.0","rc-tooltip":"~6.4.0","rc-tree":"~5.13.1","rc-tree-select":"~5.27.0","rc-upload":"~4.9.2","rc-util":"^5.44.4","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React from 'react';\nimport { createFromIconfontCN } from '@ant-design/icons';\nimport { Space } from 'antd';\nconst IconFont = createFromIconfontCN({\n scriptUrl: '//at.alicdn.com/t/font_8d5l8fzk5b87iudi.js',\n});\nconst App = () => (\n <Space>\n <IconFont type=\"icon-tuichu\" />\n <IconFont type=\"icon-facebook\" style={{ color: '#1877F2' }} />\n <IconFont type=\"icon-twitter\" />\n </Space>\n);\nexport default App;\n",description:'<p>\u5BF9\u4E8E\u4F7F\u7528 <a href="http://iconfont.cn/">iconfont.cn</a> \u7684\u7528\u6237\uFF0C\u901A\u8FC7\u8BBE\u7F6E <code>createFromIconfontCN</code> \u65B9\u6CD5\u53C2\u6570\u5BF9\u8C61\u4E2D\u7684 <code>scriptUrl</code> \u5B57\u6BB5\uFF0C \u5373\u53EF\u8F7B\u677E\u5730\u4F7F\u7528\u5DF2\u6709\u9879\u76EE\u4E2D\u7684\u56FE\u6807\u3002</p>'}},{demo:{id:"icon-demo-scripturl"},previewerProps:{title:"\u4F7F\u7528 iconfont.cn \u7684\u591A\u4E2A\u8D44\u6E90",filename:"components/icon/demo/scriptUrl.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.3","@ant-design/v5-patch-for-react-19":"^1.0.2","@antfu/eslint-config":"^4.0.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.4.0","@codesandbox/sandpack-react":"^2.19.10","@dnd-kit/core":"^6.2.0","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.5","@emotion/react":"^11.13.5","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.17.1","@ianvs/prettier-plugin-sort-imports":"^4.4.0","@inquirer/prompts":"^7.1.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^22.0.0","@prettier/sync":"^0.5.4","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.6","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/css-tree":"^2.3.10","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.10.1","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/react":"^19.0.1","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^19.0.2","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.1","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^5.0.0",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0","css-tree":"^3.1.0","csstree-validator":"^4.0.1","cypress-image-diff-html-report":"2.2.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.20","dumi-plugin-color-chunk":"^2.1.0","env-paths":"^3.0.0",eslint:"^9.23.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.9.0","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.14","fast-glob":"^3.3.2","fs-extra":"^11.2.0","gh-pages":"^6.2.0","github-slugger":"^2.0.0",glob:"^11.0.0","hast-util-to-string":"^3.0.1",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^4.0.0","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^10.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^11.0.0",jquery:"^3.7.1",jsdom:"^26.0.0","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^16.0.0",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0","package-manager-detector":"^1.0.0",pixelmatch:"^7.1.0",pngjs:"^7.0.0",prettier:"^3.4.1","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^24.7.1","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.17.0",react:"^19.1.0","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^19.1.0","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.21.0","react-icons":"^5.4.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^7.0.1","react-scan":"^0.3.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.34.0","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"^4.19.2",typedoc:"^0.28.0",typescript:"~5.8.2","vanilla-jsoneditor":"^3.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.97.1","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.2.1","@ant-design/cssinjs":"^1.23.0","@ant-design/cssinjs-utils":"^1.1.3","@ant-design/fast-color":"^2.0.6","@ant-design/icons":"^5.6.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.26.0","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.6",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.34.0","rc-checkbox":"~3.5.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.3.0","rc-dropdown":"~4.2.1","rc-field-form":"~2.7.0","rc-image":"~7.12.0","rc-input":"~1.8.0","rc-input-number":"~9.5.0","rc-mentions":"~2.20.0","rc-menu":"~9.16.1","rc-motion":"^2.9.5","rc-notification":"~5.6.4","rc-pagination":"~5.1.0","rc-picker":"~4.11.3","rc-progress":"~4.0.0","rc-rate":"~2.13.1","rc-resize-observer":"^1.4.3","rc-segmented":"~2.7.0","rc-select":"~14.16.8","rc-slider":"~11.1.8","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.50.5","rc-tabs":"~15.6.1","rc-textarea":"~1.10.0","rc-tooltip":"~6.4.0","rc-tree":"~5.13.1","rc-tree-select":"~5.27.0","rc-upload":"~4.9.2","rc-util":"^5.44.4","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React from 'react';\nimport { createFromIconfontCN } from '@ant-design/icons';\nimport { Space } from 'antd';\nconst IconFont = createFromIconfontCN({\n scriptUrl: [\n '//at.alicdn.com/t/font_1788044_0dwu4guekcwr.js', // icon-javascript, icon-java, icon-shoppingcart (overridden)\n '//at.alicdn.com/t/font_1788592_a5xf2bdic3u.js', // icon-shoppingcart, icon-python\n ],\n});\nconst App = () => (\n <Space>\n <IconFont type=\"icon-javascript\" />\n <IconFont type=\"icon-java\" />\n <IconFont type=\"icon-shoppingcart\" />\n <IconFont type=\"icon-python\" />\n </Space>\n);\nexport default App;\n",description:'<p><code>@ant-design/icons@4.1.0</code> \u4EE5\u540E\uFF0C<code>scriptUrl</code> \u53EF\u5F15\u7528\u591A\u4E2A\u8D44\u6E90\uFF0C\u7528\u6237\u53EF\u7075\u6D3B\u7684\u7BA1\u7406 <a href="http://iconfont.cn/">iconfont.cn</a> \u56FE\u6807\u3002\u5982\u679C\u8D44\u6E90\u7684\u56FE\u6807\u51FA\u73B0\u91CD\u540D\uFF0C\u4F1A\u6309\u7167\u6570\u7EC4\u987A\u5E8F\u8FDB\u884C\u8986\u76D6\u3002</p>'}}]}),(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"api",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#api",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,a.jsxs)("p",{children:[v.texts[8].value,(0,a.jsx)("code",{children:v.texts[9].value}),v.texts[10].value]}),(0,a.jsxs)("h3",{id:"common-icon",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#common-icon",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u901A\u7528\u56FE\u6807"]}),(0,a.jsxs)(o.default,{className:"component-api-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:v.texts[11].value}),(0,a.jsx)("th",{children:v.texts[12].value}),(0,a.jsx)("th",{children:v.texts[13].value}),(0,a.jsx)("th",{children:v.texts[14].value}),(0,a.jsx)("th",{children:v.texts[15].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[16].value}),(0,a.jsx)("td",{children:v.texts[17].value}),(0,a.jsx)("td",{children:v.texts[18].value}),(0,a.jsx)("td",{children:v.texts[19].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[20].value}),(0,a.jsx)("td",{children:v.texts[21].value}),(0,a.jsx)("td",{children:v.texts[22].value}),(0,a.jsx)("td",{children:v.texts[23].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[24].value}),(0,a.jsx)("td",{children:v.texts[25].value}),(0,a.jsx)("td",{children:v.texts[26].value}),(0,a.jsx)("td",{children:v.texts[27].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[28].value}),(0,a.jsxs)("td",{children:[v.texts[29].value,(0,a.jsx)("code",{children:v.texts[30].value}),v.texts[31].value,(0,a.jsx)("code",{children:v.texts[32].value})]}),(0,a.jsx)("td",{children:v.texts[33].value}),(0,a.jsx)("td",{children:v.texts[34].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[35].value}),(0,a.jsx)("td",{children:v.texts[36].value}),(0,a.jsx)("td",{children:v.texts[37].value}),(0,a.jsx)("td",{children:v.texts[38].value}),(0,a.jsx)("td",{})]})]})]}),(0,a.jsx)("p",{children:v.texts[39].value}),(0,a.jsx)(c.default,{lang:"jsx",children:v.texts[40].value}),(0,a.jsxs)("h3",{id:"custom-icon",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#custom-icon",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u81EA\u5B9A\u4E49 Icon"]}),(0,a.jsxs)(o.default,{className:"component-api-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:v.texts[41].value}),(0,a.jsx)("th",{children:v.texts[42].value}),(0,a.jsx)("th",{children:v.texts[43].value}),(0,a.jsx)("th",{children:v.texts[44].value}),(0,a.jsx)("th",{children:v.texts[45].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[46].value}),(0,a.jsxs)("td",{children:[v.texts[47].value,(0,a.jsx)("code",{children:v.texts[48].value}),v.texts[49].value]}),(0,a.jsx)("td",{children:v.texts[50].value}),(0,a.jsx)("td",{children:v.texts[51].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[52].value}),(0,a.jsx)("td",{children:v.texts[53].value}),(0,a.jsx)("td",{children:v.texts[54].value}),(0,a.jsx)("td",{children:v.texts[55].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[56].value}),(0,a.jsx)("td",{children:v.texts[57].value}),(0,a.jsx)("td",{children:v.texts[58].value}),(0,a.jsx)("td",{children:v.texts[59].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[60].value}),(0,a.jsxs)("td",{children:[v.texts[61].value,(0,a.jsx)("code",{children:v.texts[62].value}),v.texts[63].value,(0,a.jsx)("code",{children:v.texts[64].value})]}),(0,a.jsx)("td",{children:v.texts[65].value}),(0,a.jsx)("td",{children:v.texts[66].value}),(0,a.jsx)("td",{})]})]})]}),(0,a.jsxs)("h3",{id:"about-svg-icons",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#about-svg-icons",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u5173\u4E8E SVG \u56FE\u6807"]}),(0,a.jsxs)("p",{children:[v.texts[67].value,(0,a.jsx)("code",{children:v.texts[68].value}),v.texts[69].value]}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:v.texts[70].value}),(0,a.jsx)("li",{children:v.texts[71].value}),(0,a.jsx)("li",{children:v.texts[72].value}),(0,a.jsx)("li",{children:v.texts[73].value})]}),(0,a.jsxs)("p",{children:[v.texts[74].value,(0,a.jsx)(u.default,{href:"https://github.com/ant-design/ant-design/issues/10353",sourceType:"a",children:v.texts[75].value}),v.texts[76].value]}),(0,a.jsxs)("p",{children:[v.texts[77].value,(0,a.jsx)("code",{children:v.texts[78].value}),v.texts[79].value,(0,a.jsx)("code",{children:v.texts[80].value}),v.texts[81].value,(0,a.jsx)("code",{children:v.texts[82].value}),v.texts[83].value]}),(0,a.jsx)(c.default,{lang:"jsx",children:v.texts[84].value}),(0,a.jsxs)("h3",{id:"set-two-tone-color",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#set-two-tone-color",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u53CC\u8272\u56FE\u6807\u4E3B\u8272"]}),(0,a.jsxs)("p",{children:[v.texts[85].value,(0,a.jsx)("code",{children:v.texts[86].value}),v.texts[87].value,(0,a.jsx)("code",{children:v.texts[88].value}),v.texts[89].value]}),(0,a.jsx)(c.default,{lang:"jsx",children:v.texts[90].value}),(0,a.jsxs)("h3",{id:"custom-font-icon",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#custom-font-icon",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u81EA\u5B9A\u4E49 font \u56FE\u6807"]}),(0,a.jsxs)("p",{children:[v.texts[91].value,(0,a.jsx)("code",{children:v.texts[92].value}),v.texts[93].value,(0,a.jsx)("code",{children:v.texts[94].value}),v.texts[95].value,(0,a.jsx)(u.default,{href:"http://iconfont.cn/",sourceType:"a",children:v.texts[96].value}),v.texts[97].value]}),(0,a.jsx)(c.default,{lang:"jsx",children:v.texts[98].value}),(0,a.jsxs)("p",{children:[v.texts[99].value,(0,a.jsx)("code",{children:v.texts[100].value}),v.texts[101].value]}),(0,a.jsx)("p",{children:v.texts[102].value}),(0,a.jsxs)(o.default,{className:"component-api-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:v.texts[103].value}),(0,a.jsx)("th",{children:v.texts[104].value}),(0,a.jsx)("th",{children:v.texts[105].value}),(0,a.jsx)("th",{children:v.texts[106].value}),(0,a.jsx)("th",{children:v.texts[107].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[108].value}),(0,a.jsxs)("td",{children:[v.texts[109].value,(0,a.jsx)("code",{children:v.texts[110].value}),v.texts[111].value,(0,a.jsx)("code",{children:v.texts[112].value}),v.texts[113].value]}),(0,a.jsx)("td",{children:v.texts[114].value}),(0,a.jsx)("td",{children:v.texts[115].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[116].value}),(0,a.jsxs)("td",{children:[(0,a.jsx)(u.default,{href:"http://iconfont.cn/",sourceType:"a",children:v.texts[117].value}),v.texts[118].value,(0,a.jsx)("code",{children:v.texts[119].value}),v.texts[120].value,(0,a.jsx)("code",{children:v.texts[121].value}),v.texts[122].value]}),(0,a.jsx)("td",{children:v.texts[123].value}),(0,a.jsx)("td",{children:v.texts[124].value}),(0,a.jsx)("td",{})]})]})]}),(0,a.jsxs)("p",{children:[v.texts[125].value,(0,a.jsx)("code",{children:v.texts[126].value}),v.texts[127].value,(0,a.jsx)(u.default,{href:"http://iconfont.cn/",sourceType:"a",children:v.texts[128].value}),v.texts[129].value]}),(0,a.jsxs)("p",{children:[v.texts[130].value,(0,a.jsx)(u.default,{href:"http://iconfont.cn/help/detail?spm=a313x.7781069.1998910419.15&helptype=code",sourceType:"a",children:v.texts[131].value}),v.texts[132].value]}),(0,a.jsxs)("h3",{id:"custom-svg-icon",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#custom-svg-icon",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u81EA\u5B9A\u4E49 SVG \u56FE\u6807"]}),(0,a.jsxs)("p",{children:[v.texts[133].value,(0,a.jsx)("code",{children:v.texts[134].value}),v.texts[135].value,(0,a.jsx)(u.default,{href:"https://www.npmjs.com/package/@svgr/webpack",sourceType:"a",children:v.texts[136].value}),v.texts[137].value,(0,a.jsx)("code",{children:v.texts[138].value}),v.texts[139].value,(0,a.jsx)("code",{children:v.texts[140].value}),v.texts[141].value,(0,a.jsx)("code",{children:v.texts[142].value}),v.texts[143].value,(0,a.jsx)("code",{children:v.texts[144].value}),v.texts[145].value,(0,a.jsx)(u.default,{href:"https://github.com/smooth-code/svgr#options",sourceType:"a",children:v.texts[146].value}),v.texts[147].value]}),(0,a.jsx)(c.default,{lang:"js",children:v.texts[148].value}),(0,a.jsxs)("p",{children:[v.texts[149].value,(0,a.jsx)("code",{children:v.texts[150].value}),v.texts[151].value,(0,a.jsx)(u.default,{href:"https://www.npmjs.com/package/vite-plugin-svgr",sourceType:"a",children:v.texts[152].value}),v.texts[153].value,(0,a.jsx)("code",{children:v.texts[154].value}),v.texts[155].value,(0,a.jsx)("code",{children:v.texts[156].value}),v.texts[157].value,(0,a.jsx)("code",{children:v.texts[158].value}),v.texts[159].value,(0,a.jsx)("code",{children:v.texts[160].value}),v.texts[161].value,(0,a.jsx)(u.default,{href:"https://github.com/smooth-code/svgr#options",sourceType:"a",children:v.texts[162].value}),v.texts[163].value]}),(0,a.jsx)(c.default,{lang:"js",children:v.texts[164].value}),(0,a.jsx)(c.default,{lang:"jsx",children:v.texts[165].value}),(0,a.jsxs)("p",{children:[(0,a.jsx)("code",{children:v.texts[166].value}),v.texts[167].value,(0,a.jsx)("code",{children:v.texts[168].value}),v.texts[169].value]}),(0,a.jsxs)(o.default,{className:"component-api-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:v.texts[170].value}),(0,a.jsx)("th",{children:v.texts[171].value}),(0,a.jsx)("th",{children:v.texts[172].value}),(0,a.jsx)("th",{children:v.texts[173].value}),(0,a.jsx)("th",{children:v.texts[174].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[175].value}),(0,a.jsxs)("td",{children:[v.texts[176].value,(0,a.jsx)("code",{children:v.texts[177].value}),v.texts[178].value]}),(0,a.jsx)("td",{children:v.texts[179].value}),(0,a.jsx)("td",{children:v.texts[180].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[181].value}),(0,a.jsxs)("td",{children:[(0,a.jsx)("code",{children:v.texts[182].value}),v.texts[183].value]}),(0,a.jsx)("td",{children:v.texts[184].value}),(0,a.jsx)("td",{children:(0,a.jsx)("code",{children:v.texts[185].value})}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[186].value}),(0,a.jsxs)("td",{children:[(0,a.jsx)("code",{children:v.texts[187].value}),v.texts[188].value]}),(0,a.jsx)("td",{children:v.texts[189].value}),(0,a.jsx)("td",{children:(0,a.jsx)("code",{children:v.texts[190].value})}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[191].value}),(0,a.jsxs)("td",{children:[v.texts[192].value,(0,a.jsx)("code",{children:v.texts[193].value}),v.texts[194].value]}),(0,a.jsx)("td",{children:v.texts[195].value}),(0,a.jsx)("td",{children:v.texts[196].value}),(0,a.jsx)("td",{})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:v.texts[197].value}),(0,a.jsxs)("td",{children:[(0,a.jsx)("code",{children:v.texts[198].value}),v.texts[199].value]}),(0,a.jsx)("td",{children:v.texts[200].value}),(0,a.jsx)("td",{children:(0,a.jsx)("code",{children:v.texts[201].value})}),(0,a.jsx)("td",{})]})]})]}),(0,a.jsxs)("h2",{id:"design-token",children:[(0,a.jsx)(u.default,{"aria-hidden":"true",tabIndex:"-1",href:"#design-token",sourceType:"a",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4E3B\u9898\u53D8\u91CF\uFF08Design Token\uFF09"]})]}),(0,a.jsx)(i.default,{component:"Icon"})]})})});};}}]);