diff --git a/docs/react/introduce.en-US.md b/docs/react/introduce.en-US.md index 390f918bdc..53171db5d1 100644 --- a/docs/react/introduce.en-US.md +++ b/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 diff --git a/docs/react/introduce.zh-CN.md b/docs/react/introduce.zh-CN.md index b898ef0739..8cf957d17b 100644 --- a/docs/react/introduce.zh-CN.md +++ b/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`,请确保提前引入这些文件。 ## 示例