Browse Source

docs: update document format (#38725)

pull/38729/head
zqran 2 years ago
committed by GitHub
parent
commit
919f7f94d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/react/introduce.en-US.md
  2. 2
      docs/react/introduce.zh-CN.md

2
docs/react/introduce.en-US.md

@ -78,7 +78,7 @@ We provide `antd.js` and `antd.min.js` `reset.css` under [dist](https://unpkg.co
> **We strongly discourage loading the entire files** 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 [webpack](https://webpack.github.io/), which will make it easy to import only the parts of antd that you are using.
> Note: you should import react/react-dom/dayjs before using antd.js.
> Note: You should import `react`、`react-dom`、`dayjs` before using `antd.js`.
## Usage

2
docs/react/introduce.zh-CN.md

@ -78,7 +78,7 @@ $ yarn add antd
> **强烈不推荐使用已构建文件**,这样无法按需加载,而且难以获得底层依赖模块的 bug 快速修复支持。
> 注意:`antd.js` 和 `antd.min.js` 依赖 `react/react-dom/dayjs`,请确保提前引入这些文件。
> 注意:`antd.js` 和 `antd.min.js` 依赖 `react`、`react-dom`、`dayjs`,请确保提前引入这些文件。
## 示例

Loading…
Cancel
Save