2018-06-15
Note: According to the previous 2.1.x final version plan, we have separated the react native components into a separate ant-design-mobile-rn repo, and the antd-mobile-rn
npm package has been released. If you use the react native components, modify your package.json
file like so:
...
"dependencies": {
- "antd-mobile": "^2.1.11",
+ "antd-mobile-rn": "^2.2.0",
"react": "16.3.1",
...
},
...
Then reinstall node_modules.
-
Feature
-
Bug Fix
- 🐞 Fix
Popover
ts type (#2571)
- 🐞 Fix
-
Enhancement
- 📝 Update
Stepper
API doc (#2573) - Improve test
- 📝 Update
注意:根据之前的 2.1.x 最后版本计划,我们已经分离 react native 组件代码到单独的 ant-design-mobile-rn 仓库,并且已经发布了 antd-mobile-rn
包。如果使用 react native 组件,请这样修改 package.json
文件:
...
"dependencies": {
- "antd-mobile": "^2.1.11",
+ "antd-mobile-rn": "^2.2.0",
"react": "16.3.1",
...
},
...
然后,重装 node_modules 即可。