Skip to content

Commit

Permalink
Merge pull request #1340 from ant-design/5.1.2
Browse files Browse the repository at this point in the history
5.1.2
  • Loading branch information
1uokun authored Apr 15, 2024
2 parents f571cb7 + 8707512 commit 2906787
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ yarn add @ant-design/react-native
### Installing peer dependencies

```bash
npm install @react-native-community/segmented-control @react-native-community/slider
npm install @react-native-community/segmented-control @react-native-community/slider @ant-design/icons-react-native react-native-gesture-handler
```

or

```bash
yarn add @react-native-community/segmented-control @react-native-community/slider
yarn add @react-native-community/segmented-control @react-native-community/slider @ant-design/icons-react-native react-native-gesture-handler
```

> You need go to ios folder and run `pod install` (auto linking),Android will handle it by itself.
Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/react-native",
"version": "5.1.1",
"version": "5.1.2",
"description": "基于蚂蚁金服移动设计规范的 React Native 组件库",
"keywords": [
"ant",
Expand All @@ -24,14 +24,12 @@
},
"files": [
"lib",
"es",
"react-native.config.js"
"es"
],
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"dependencies": {
"@ant-design/icons-react-native": "^2.3.1",
"@bang88/react-native-ultimate-listview": "^4.1.0",
"@types/shallowequal": "^1.1.1",
"babel-runtime": "^6.x",
Expand All @@ -42,7 +40,6 @@
"rc-util": "^4.21.1",
"react-native-codegen": "^0.0.7",
"react-native-collapsible": "^1.6.0",
"react-native-gesture-handler": "~2.2.1",
"react-native-modal-popover": "^2.0.1",
"shallowequal": "^1.1.0",
"utility-types": "^3.10.0"
Expand Down Expand Up @@ -99,10 +96,12 @@
"typescript": "^4.3.2"
},
"peerDependencies": {
"@ant-design/icons-react-native": ">= 2.3.1",
"@react-native-community/segmented-control": ">= 1.4.0",
"@react-native-community/slider": ">= 2.0.0",
"react": ">=17.0.1",
"react-native": ">=0.64.1"
"react-native": ">=0.64.1",
"react-native-gesture-handler": ">=2.2.1"
},
"scripts": {
"lint": "npm run tslint && npm run srclint && npm run applint",
Expand Down

0 comments on commit 2906787

Please sign in to comment.