Skip to content

Commit fe5ad12

Browse files
authored
chore: update peerDependency version (#142)
1 parent 7a0a4d2 commit fe5ad12

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ For Android and Web, it has a js implementation that mocks iOS 13 style of UISeg
1212
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
1313
| <img src="https://user-images.githubusercontent.com/6936373/71608757-dc6ef680-2bc6-11ea-85be-aa31f25ecf36.png" width="320" /> | <img src="https://user-images.githubusercontent.com/6936373/79550655-9edd9d00-80d3-11ea-98bf-8b7c0b0798d3.png" width="320" /> | <img src="https://user-images.githubusercontent.com/6936373/79590620-3f52b200-8112-11ea-863b-236c4465fba6.png" width="640"/> |
1414

15+
## Supported React Native Version
16+
17+
| react-native-segmented-control | react-native |
18+
| --- | --- |
19+
| v2.2.0 | >= 0.62 |
20+
| <= v2.2.0 | >= 0.57 |
21+
22+
This module is NOT supported for expo.
23+
1524
## Getting started
1625

1726
Install the library using either Yarn:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"tsc": "tsc --noEmit"
2222
},
2323
"peerDependencies": {
24-
"react": "^16.0",
25-
"react-native": ">=0.57"
24+
"react": ">=16.0",
25+
"react-native": ">=0.62"
2626
},
2727
"devDependencies": {
2828
"@babel/core": "^7.10.2",

0 commit comments

Comments
 (0)