mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
1 line
25 KiB
JavaScript
1 line
25 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["1d811a4f"],{"1d811a4f":function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"default",{enumerable:!0,get:function(){return h;}});var s=t("777fffbe"),n=t("f19d2b93"),d=s._(t("b622e337")),r=s._(t("67074e5d")),l=s._(t("302b08e3")),o=s._(t("5437c7d5")),i=s._(t("97c488ea")),c=s._(t("c96b0d01")),u=t("5b220c3d"),x=t("9c86e52a"),p=t("c4cd4604"),h=function(){return(0,n.jsx)(x.DumiPage,{children:(0,n.jsx)(u.Suspense,{fallback:(0,n.jsx)(c.default,{}),children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("audio",{id:"antd-audio",children:[p.texts[0].value,(0,n.jsx)("source",{src:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*ChCdRJ0w8SUAAAAAAAAAAAAADgCCAQ",type:"audio/mpeg"})]}),(0,n.jsxs)("p",{children:[p.texts[1].value,(0,n.jsx)("code",{children:p.texts[2].value}),p.texts[3].value,(0,n.jsx)(l.default,{id:"antd-audio",children:p.texts[4].value}),p.texts[5].value]}),(0,n.jsxs)("div",{className:"pic-plus",children:[p.texts[6].value,(0,n.jsx)("img",{width:"150",draggable:"false",src:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"}),p.texts[7].value,(0,n.jsx)("span",{children:p.texts[8].value}),p.texts[9].value,(0,n.jsx)("img",{width:"160",draggable:"false",src:"https://gw.alipayobjects.com/zos/antfincdn/aPkFc8Sj7n/method-draw-image.svg"})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("h2",{id:"-features",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#-features",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u2728 Features"]}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:p.texts[10].value}),(0,n.jsx)("li",{children:p.texts[11].value}),(0,n.jsx)("li",{children:p.texts[12].value}),(0,n.jsx)("li",{children:p.texts[13].value}),(0,n.jsx)("li",{children:p.texts[14].value}),(0,n.jsx)("li",{children:p.texts[15].value})]}),(0,n.jsxs)("h2",{id:"environment-support",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#environment-support",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Environment Support"]}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:p.texts[16].value}),(0,n.jsx)("li",{children:p.texts[17].value}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://www.electronjs.org/",sourceType:"a",children:p.texts[18].value})})]}),(0,n.jsxs)(r.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsxs)("th",{children:[(0,n.jsx)(i.default,{href:"https://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,n.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png",alt:"Edge",width:"24px",height:"24px"})}),(0,n.jsx)("br",{}),p.texts[19].value]}),(0,n.jsxs)("th",{children:[(0,n.jsx)(i.default,{href:"https://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,n.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png",alt:"Firefox",width:"24px",height:"24px"})}),(0,n.jsx)("br",{}),p.texts[20].value]}),(0,n.jsxs)("th",{children:[(0,n.jsx)(i.default,{href:"https://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,n.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png",alt:"Chrome",width:"24px",height:"24px"})}),(0,n.jsx)("br",{}),p.texts[21].value]}),(0,n.jsxs)("th",{children:[(0,n.jsx)(i.default,{href:"https://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,n.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png",alt:"Safari",width:"24px",height:"24px"})}),(0,n.jsx)("br",{}),p.texts[22].value]}),(0,n.jsxs)("th",{children:[(0,n.jsx)(i.default,{href:"https://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,n.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png",alt:"Opera",width:"24px",height:"24px"})}),(0,n.jsx)("br",{}),p.texts[23].value]}),(0,n.jsxs)("th",{children:[(0,n.jsx)(i.default,{href:"https://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,n.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png",alt:"Electron",width:"24px",height:"24px"})}),(0,n.jsx)("br",{}),p.texts[24].value]})]})}),(0,n.jsx)("tbody",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:p.texts[25].value}),(0,n.jsx)("td",{children:p.texts[26].value}),(0,n.jsx)("td",{children:p.texts[27].value}),(0,n.jsx)("td",{children:p.texts[28].value}),(0,n.jsx)("td",{children:p.texts[29].value}),(0,n.jsx)("td",{children:p.texts[30].value})]})})]}),(0,n.jsxs)("p",{children:[p.texts[31].value,(0,n.jsx)(i.default,{href:"https://babeljs.io/docs/en/babel-preset-env",sourceType:"a",children:p.texts[32].value}),p.texts[33].value,(0,n.jsx)("code",{children:p.texts[34].value}),p.texts[35].value,(0,n.jsx)(i.default,{href:"https://umijs.org/",sourceType:"a",children:p.texts[36].value}),p.texts[37].value]}),(0,n.jsx)("blockquote",{children:(0,n.jsxs)("p",{children:[p.texts[38].value,(0,n.jsx)("code",{children:p.texts[39].value}),p.texts[40].value,(0,n.jsx)("code",{children:p.texts[41].value}),p.texts[42].value,(0,n.jsx)("code",{children:p.texts[43].value}),p.texts[44].value]})}),(0,n.jsxs)("h2",{id:"version",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#version",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Version"]}),(0,n.jsx)("ul",{children:(0,n.jsxs)("li",{children:[p.texts[45].value,(0,n.jsx)(i.default,{href:"https://www.npmjs.org/package/antd",sourceType:"a",children:(0,n.jsx)("img",{src:"https://img.shields.io/npm/v/antd.svg?style=flat-square",alt:"npm package"})})]})}),(0,n.jsxs)("p",{children:[p.texts[46].value,(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design/releases.atom",sourceType:"a",children:p.texts[47].value})]}),(0,n.jsxs)("h2",{id:"installation",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#installation",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Installation"]}),(0,n.jsxs)("h3",{id:"using-npm-or-yarn-or-pnpm-or-bun",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#using-npm-or-yarn-or-pnpm-or-bun",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Using npm or yarn or pnpm or bun"]}),(0,n.jsxs)("p",{children:[(0,n.jsxs)("strong",{children:[p.texts[48].value,(0,n.jsx)(i.default,{href:"https://www.npmjs.com/",sourceType:"a",children:p.texts[49].value}),p.texts[50].value,(0,n.jsx)(i.default,{href:"https://github.com/yarnpkg/yarn/",sourceType:"a",children:p.texts[51].value}),p.texts[52].value,(0,n.jsx)(i.default,{href:"https://pnpm.io/",sourceType:"a",children:p.texts[53].value}),p.texts[54].value,(0,n.jsx)(i.default,{href:"https://bun.sh/",sourceType:"a",children:p.texts[55].value}),p.texts[56].value]}),p.texts[57].value]})]}),(0,n.jsx)(o.default,{npm:"$ npm install antd --save",yarn:"$ yarn add antd",pnpm:"$ pnpm install antd --save",bun:"$ bun add antd"}),(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("p",{children:[p.texts[58].value,(0,n.jsx)(i.default,{href:"https://github.com/cnpm/cnpm",sourceType:"a",children:p.texts[59].value}),p.texts[60].value]}),(0,n.jsxs)("h3",{id:"import-in-browser",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#import-in-browser",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Import in Browser"]}),(0,n.jsxs)("p",{children:[p.texts[61].value,(0,n.jsx)("code",{children:p.texts[62].value}),p.texts[63].value,(0,n.jsx)("code",{children:p.texts[64].value}),p.texts[65].value,(0,n.jsx)("code",{children:p.texts[66].value}),p.texts[67].value]}),(0,n.jsxs)("p",{children:[p.texts[68].value,(0,n.jsx)("code",{children:p.texts[69].value}),p.texts[70].value,(0,n.jsx)("code",{children:p.texts[71].value}),p.texts[72].value,(0,n.jsx)("code",{children:p.texts[73].value}),p.texts[74].value,(0,n.jsx)(i.default,{href:"https://unpkg.com/browse/antd@5.0.0/dist/",sourceType:"a",children:p.texts[75].value}),p.texts[76].value,(0,n.jsx)(i.default,{href:"https://cdnjs.com/libraries/antd",sourceType:"a",children:(0,n.jsx)("img",{src:"https://img.shields.io/cdnjs/v/antd.svg?style=flat-square",alt:"CDNJS"})}),p.texts[77].value,(0,n.jsx)(i.default,{href:"https://www.jsdelivr.com/package/npm/antd",sourceType:"a",children:(0,n.jsx)("img",{src:"https://data.jsdelivr.com/v1/package/npm/antd/badge",alt:""})}),p.texts[78].value,(0,n.jsx)(i.default,{href:"https://unpkg.com/antd/dist",sourceType:"a",children:p.texts[79].value}),p.texts[80].value]}),(0,n.jsx)("blockquote",{children:(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:p.texts[81].value}),p.texts[82].value,(0,n.jsx)(i.default,{href:"https://webpack.github.io/",sourceType:"a",children:p.texts[83].value}),p.texts[84].value]})}),(0,n.jsx)("blockquote",{children:(0,n.jsxs)("p",{children:[p.texts[85].value,(0,n.jsx)("code",{children:p.texts[86].value}),p.texts[87].value,(0,n.jsx)("code",{children:p.texts[88].value}),p.texts[89].value,(0,n.jsx)("code",{children:p.texts[90].value}),p.texts[91].value,(0,n.jsx)("code",{children:p.texts[92].value}),p.texts[93].value]})}),(0,n.jsxs)("h2",{id:"usage",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#usage",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Usage"]}),(0,n.jsx)(d.default,{lang:"jsx",children:p.texts[94].value}),(0,n.jsxs)("h3",{id:"use-modularized-antd",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#use-modularized-antd",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Use modularized antd"]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("code",{children:p.texts[95].value}),p.texts[96].value]}),(0,n.jsxs)("h3",{id:"typescript",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#typescript",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"TypeScript"]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("code",{children:p.texts[97].value}),p.texts[98].value,(0,n.jsx)("code",{children:p.texts[99].value}),p.texts[100].value]}),(0,n.jsxs)("h2",{id:"links",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#links",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Links"]}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{to:"/",sourceType:"Link",children:p.texts[101].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design/issues/25661",sourceType:"a",children:p.texts[102].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{to:"/components/overview",sourceType:"Link",children:p.texts[103].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{to:"/changelog",sourceType:"Link",children:p.texts[104].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://react-component.github.io/",sourceType:"a",children:p.texts[105].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design-icons",sourceType:"a",children:p.texts[106].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design-colors",sourceType:"a",children:p.texts[107].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://x.ant.design/index-cn",sourceType:"a",children:p.texts[108].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://pro.ant.design/",sourceType:"a",children:p.texts[109].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://procomponents.ant.design",sourceType:"a",children:p.texts[110].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://mobile.ant.design",sourceType:"a",children:p.texts[111].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://mini.ant.design",sourceType:"a",children:p.texts[112].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://charts.ant.design",sourceType:"a",children:p.texts[113].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://web3.ant.design",sourceType:"a",children:p.texts[114].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://landing.ant.design",sourceType:"a",children:p.texts[115].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://motion.ant.design",sourceType:"a",children:p.texts[116].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://scaffold.ant.design",sourceType:"a",children:p.texts[117].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design/wiki/Development",sourceType:"a",children:p.texts[118].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design/wiki/%E8%BD%AE%E5%80%BC%E8%A7%84%E5%88%99%E5%92%8C%E7%89%88%E6%9C%AC%E5%8F%91%E5%B8%83%E6%B5%81%E7%A8%8B",sourceType:"a",children:p.texts[119].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{to:"/docs/react/faq",sourceType:"Link",children:p.texts[120].value})}),(0,n.jsxs)("li",{children:[(0,n.jsx)(i.default,{href:"https://u.ant.design/codesandbox-repro",sourceType:"a",children:p.texts[121].value}),p.texts[122].value]}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://github.com/websemantics/awesome-ant-design",sourceType:"a",children:p.texts[123].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{to:"/docs/react/customize-theme",sourceType:"Link",children:p.texts[124].value})}),(0,n.jsx)("li",{children:(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design/wiki/Collaborators#how-to-apply-for-being-a-collaborator",sourceType:"a",children:p.texts[125].value})})]}),(0,n.jsxs)("h2",{id:"non-react-implementations",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#non-react-implementations",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Non-React Implementations"]}),(0,n.jsxs)("p",{children:[p.texts[126].value,(0,n.jsx)(i.default,{to:"/docs/spec/introduce#front-end-implementation",sourceType:"Link",children:p.texts[127].value}),p.texts[128].value]}),(0,n.jsxs)("h2",{id:"companies-using-antd",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#companies-using-antd",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Companies using antd"]}),(0,n.jsxs)("p",{children:[p.texts[129].value,(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design/issues/477",sourceType:"a",children:p.texts[130].value}),p.texts[131].value]}),(0,n.jsxs)("h2",{id:"contributing",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#contributing",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Contributing"]}),(0,n.jsxs)("p",{children:[p.texts[132].value,(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design/blob/master/.github/CONTRIBUTING.md",sourceType:"a",children:p.texts[133].value}),p.texts[134].value]}),(0,n.jsxs)("p",{children:[p.texts[135].value,(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design/pulls",sourceType:"a",children:p.texts[136].value}),p.texts[137].value,(0,n.jsx)(i.default,{href:"https://new-issue.ant.design/",sourceType:"a",children:p.texts[138].value}),p.texts[139].value]}),(0,n.jsx)("blockquote",{children:(0,n.jsxs)("p",{children:[p.texts[140].value,(0,n.jsx)(i.default,{href:"https://www.catb.org/~esr/faqs/smart-questions.html",sourceType:"a",children:(0,n.jsx)("em",{children:p.texts[141].value})}),p.texts[142].value,(0,n.jsx)(i.default,{href:"https://github.com/seajs/seajs/issues/545",sourceType:"a",children:p.texts[143].value}),p.texts[144].value,(0,n.jsx)(i.default,{href:"https://www.chiark.greenend.org.uk/~sgtatham/bugs.html",sourceType:"a",children:p.texts[145].value}),p.texts[146].value]})}),(0,n.jsxs)("h2",{id:"need-help",children:[(0,n.jsx)(i.default,{"aria-hidden":"true",tabIndex:"-1",href:"#need-help",sourceType:"a",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Need Help?"]}),(0,n.jsxs)("p",{children:[p.texts[147].value,(0,n.jsx)(i.default,{href:"https://github.com/ant-design/ant-design/discussions",sourceType:"a",children:p.texts[148].value}),p.texts[149].value,(0,n.jsx)("code",{children:p.texts[150].value}),p.texts[151].value,(0,n.jsx)(i.default,{href:"https://stackoverflow.com/questions/tagged/antd",sourceType:"a",children:(0,n.jsx)("img",{alt:"Stack Overflow",src:"https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-logo.svg?v=2bb144720a66",width:"140"})}),p.texts[152].value,(0,n.jsx)("code",{children:p.texts[153].value}),p.texts[154].value]}),(0,n.jsxs)("p",{children:[p.texts[155].value,(0,n.jsx)("code",{children:p.texts[156].value}),p.texts[157].value]})]})]})})});};},c4cd4604:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"texts",{enumerable:!0,get:function(){return s;}}),t("fc106a4b");let s=[{value:"\n ",paraId:0},{value:"Following the Ant Design specification, we developed a React UI library ",paraId:1},{value:"antd",paraId:1},{value:" (",paraId:1},{value:"Pronunciation",paraId:2},{value:") that contains a set of high quality components and demos for building rich, interactive user interfaces.",paraId:1},{value:"\n ",paraId:0},{value:"\n ",paraId:0},{value:"+",paraId:0},{value:"\n ",paraId:0},{value:"\u{1F308} Enterprise-class UI designed for web applications.",paraId:3,tocIndex:0},{value:"\u{1F4E6} A set of high-quality React components out of the box.",paraId:3,tocIndex:0},{value:"\u{1F6E1} Written in TypeScript with predictable static types.",paraId:3,tocIndex:0},{value:"\u2699\uFE0F Whole package of design resources and development tools.",paraId:3,tocIndex:0},{value:"\u{1F30D} Internationalization support for dozens of languages.",paraId:3,tocIndex:0},{value:"\u{1F3A8} Powerful theme customization in every detail.",paraId:3,tocIndex:0},{value:"Modern browsers",paraId:4,tocIndex:1},{value:"Server-side Rendering",paraId:4,tocIndex:1},{value:"Electron",paraId:4,tocIndex:1},{value:"Edge",paraId:5,tocIndex:1},{value:"Firefox",paraId:5,tocIndex:1},{value:"Chrome",paraId:5,tocIndex:1},{value:"Safari",paraId:5,tocIndex:1},{value:"Opera",paraId:5,tocIndex:1},{value:"Electron",paraId:5,tocIndex:1},{value:"Edge",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"Polyfills are needed for IE browsers. We recommend ",paraId:6,tocIndex:1},{value:"@babel/preset-env",paraId:6,tocIndex:1},{value:" for it. You can set ",paraId:6,tocIndex:1},{value:"targets",paraId:6,tocIndex:1},{value:" config if you are using ",paraId:6,tocIndex:1},{value:"umi",paraId:6,tocIndex:1},{value:".",paraId:6,tocIndex:1},{value:"Dropped support of IE8 after ",paraId:7,tocIndex:1},{value:"antd@2.0",paraId:7,tocIndex:1},{value:". Dropped support of React 15 and IE9/10 after ",paraId:7,tocIndex:1},{value:"antd@4.0",paraId:7,tocIndex:1},{value:". Dropped support of IE after ",paraId:7,tocIndex:1},{value:"antd@5.0",paraId:7,tocIndex:1},{value:".",paraId:7,tocIndex:1},{value:"Stable: ",paraId:8,tocIndex:2},{value:"You can subscribe to this feed for new version notifications: ",paraId:9,tocIndex:2},{value:"https://github.com/ant-design/ant-design/releases.atom",paraId:9,tocIndex:2},{value:"We recommend using ",paraId:10,tocIndex:4},{value:"npm",paraId:10,tocIndex:4},{value:" or ",paraId:10,tocIndex:4},{value:"yarn",paraId:10,tocIndex:4},{value:" or ",paraId:10,tocIndex:4},{value:"pnpm",paraId:10,tocIndex:4},{value:" or ",paraId:10,tocIndex:4},{value:"bun",paraId:10,tocIndex:4},{value:" to install",paraId:10,tocIndex:4},{value:", it not only makes development easier, but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.",paraId:10,tocIndex:4},{value:"If you are in a bad network environment, you can try other registries and tools like ",paraId:11},{value:"cnpm",paraId:11},{value:".",paraId:11},{value:"Add ",paraId:12,tocIndex:5},{value:"script",paraId:12,tocIndex:5},{value:" and ",paraId:12,tocIndex:5},{value:"link",paraId:12,tocIndex:5},{value:" tags in your browser and use the global variable ",paraId:12,tocIndex:5},{value:"antd",paraId:12,tocIndex:5},{value:".",paraId:12,tocIndex:5},{value:"We provide ",paraId:13,tocIndex:5},{value:"antd.js",paraId:13,tocIndex:5},{value:" and ",paraId:13,tocIndex:5},{value:"antd.min.js",paraId:13,tocIndex:5},{value:" ",paraId:13,tocIndex:5},{value:"reset.css",paraId:13,tocIndex:5},{value:" under ",paraId:13,tocIndex:5},{value:"dist",paraId:13,tocIndex:5},{value:" folder in antd's npm package. You can also download these files directly from ",paraId:13,tocIndex:5},{value:", ",paraId:13,tocIndex:5},{value:" or ",paraId:13,tocIndex:5},{value:"unpkg",paraId:13,tocIndex:5},{value:".",paraId:13,tocIndex:5},{value:"We strongly discourage loading the entire files",paraId:14,tocIndex:5},{value:" this will add bloat to your application and make it more difficult to receive bugfixes and updates. Antd is intended to be used in conjunction with a build tool, such as ",paraId:14,tocIndex:5},{value:"webpack",paraId:14,tocIndex:5},{value:", which will make it easy to import only the parts of antd that you are using.",paraId:14,tocIndex:5},{value:"Note: You should import ",paraId:15,tocIndex:5},{value:"react",paraId:15,tocIndex:5},{value:", ",paraId:15,tocIndex:5},{value:"react-dom",paraId:15,tocIndex:5},{value:", ",paraId:15,tocIndex:5},{value:"dayjs",paraId:15,tocIndex:5},{value:" before using ",paraId:15,tocIndex:5},{value:"antd.js",paraId:15,tocIndex:5},{value:".",paraId:15,tocIndex:5},{value:"import React from 'react';\nimport { DatePicker } from 'antd';\n\nconst App = () => {\n return <DatePicker />;\n};\n\nexport default App;\n",paraId:16,tocIndex:6},{value:"antd",paraId:17,tocIndex:7},{value:" supports ES modules tree shaking by default.",paraId:17,tocIndex:7},{value:"antd",paraId:18,tocIndex:8},{value:" provides a built-in ts definition, don't install ",paraId:18,tocIndex:8},{value:"@types/antd",paraId:18,tocIndex:8},{value:".",paraId:18,tocIndex:8},{value:"Home page",paraId:19,tocIndex:9},{value:"China Mirrors",paraId:20,tocIndex:9},{value:"Components",paraId:21,tocIndex:9},{value:"Change Log",paraId:22,tocIndex:9},{value:"rc-components",paraId:20,tocIndex:9},{value:"Ant Design Icons",paraId:20,tocIndex:9},{value:"Ant Design Colors",paraId:20,tocIndex:9},{value:"\u{1F195} Ant Design X",paraId:20,tocIndex:9},{value:"Ant Design Pro",paraId:20,tocIndex:9},{value:"Pro Components",paraId:20,tocIndex:9},{value:"Ant Design Mobile",paraId:20,tocIndex:9},{value:"Ant Design Mini",paraId:20,tocIndex:9},{value:"Ant Design Charts",paraId:20,tocIndex:9},{value:"Ant Design Web3",paraId:20,tocIndex:9},{value:"Landing Pages",paraId:20,tocIndex:9},{value:"Ant Motion",paraId:20,tocIndex:9},{value:"Scaffold Market",paraId:20,tocIndex:9},{value:"Developer Instruction",paraId:20,tocIndex:9},{value:"Versioning Release Note",paraId:20,tocIndex:9},{value:"FAQ",paraId:23,tocIndex:9},{value:"CodeSandbox Template",paraId:20,tocIndex:9},{value:" for bug reports",paraId:20,tocIndex:9},{value:"Awesome Ant Design",paraId:20,tocIndex:9},{value:"Customize Theme",paraId:24,tocIndex:9},{value:"How to Apply for Being A Collaborator",paraId:20,tocIndex:9},{value:"React is used to encapsulate a library of components which embody our design language. We welcome the community to implement our design system ",paraId:25,tocIndex:10},{value:"in other front-end frameworks",paraId:26,tocIndex:10},{value:" of their choice.",paraId:25,tocIndex:10},{value:"Ant Design is widely used for building enterprise-level websites both domestically and internationally. You can refer to wappalyzer for reference data. If your company or product uses Ant Design, let us know ",paraId:27,tocIndex:11},{value:"here",paraId:27,tocIndex:11},{value:"!",paraId:27,tocIndex:11},{value:"Please read our ",paraId:28,tocIndex:12},{value:"CONTRIBUTING.md",paraId:28,tocIndex:12},{value:" first.",paraId:28,tocIndex:12},{value:"If you'd like to help us improve antd, just create a ",paraId:29,tocIndex:12},{value:"Pull Request",paraId:29,tocIndex:12},{value:". Feel free to report bugs and issues ",paraId:29,tocIndex:12},{value:"here",paraId:29,tocIndex:12},{value:".",paraId:29,tocIndex:12},{value:"If you're new to posting issues, we ask that you read ",paraId:30,tocIndex:12},{value:"How To Ask Questions The Smart Way",paraId:30,tocIndex:12},{value:" and ",paraId:30,tocIndex:12},{value:"How to Ask a Question in Open Source Community",paraId:30,tocIndex:12},{value:" and ",paraId:30,tocIndex:12},{value:"How to Report Bugs Effectively",paraId:30,tocIndex:12},{value:" prior to posting. Well written bug reports help us help you!",paraId:30,tocIndex:12},{value:"For questions on how to use antd, please post questions to ",paraId:31,tocIndex:13},{value:"GitHub Discussions",paraId:31,tocIndex:13},{value:" using the ",paraId:31,tocIndex:13},{value:"Q&A",paraId:31,tocIndex:13},{value:" tag or ",paraId:31,tocIndex:13},{value:" using the ",paraId:31,tocIndex:13},{value:"antd",paraId:31,tocIndex:13},{value:" tag.",paraId:31,tocIndex:13},{value:"As always, we encourage experienced users to help those who are not familiar with ",paraId:32,tocIndex:13},{value:"antd",paraId:32,tocIndex:13},{value:"!",paraId:32,tocIndex:13}];}}]); |