Skip to content

Commit feda177

Browse files
author
NathanJolly
authored
Make react-native-windows an optionalDependency and match react-native to docs (#191)
1 parent 75f13a8 commit feda177

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# CHANGELOG
2+
### 2.4.2
3+
4+
- Make react-native-windows optional [#191](https://github.com/react-native-community/datetimepicker/pull/191)
25

36
### 2.4.0
47

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,15 @@
7171
"react-test-renderer": "^16.11.0"
7272
},
7373
"peerDependencies": {
74-
"react": ">=16.11",
75-
"react-native": ">=0.61",
76-
"react-native-windows": "^0.62.0-preview.1"
74+
"react": ">=16.8.3",
75+
"react-native": ">=0.59"
7776
},
7877
"dependencies": {
7978
"invariant": "^2.2.4"
8079
},
80+
"optionalDependencies": {
81+
"react-native-windows": "^0.62.0-preview.1"
82+
},
8183
"detox": {
8284
"test-runner": "jest",
8385
"runner-config": "example/e2e/config.json",

0 commit comments

Comments
 (0)