-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ Here list some of main incompatible changes and recommended changes in the upgra | |
|
||
### 3.0.0 | ||
|
||
**3.0.0** needs to install `[email protected]` | ||
|
||
- Change import to `import { Button, ... } from '@ant-design/react-native` | ||
- Change `LocaleProvider` to `Provider` and the Provider are required from now on. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ title: 升级指南 | |
|
||
### 3.0.0 | ||
|
||
**3.0.0**开始需要安装 `[email protected]` | ||
|
||
- 修改之前的 import 方式改成 `import { Button, ... } from '@ant-design/react-native` | ||
- 多语言以及主题,由之前的 `LocaleProvider` 改成`Provider`,现在的`Provider` 支持`theme`跟`locale`,Provider 必须在 app 入口指定,不然部分组件用不了(因为现在支持多个 Modal 以及在 Modal 上面显示 Toast) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters