Skip to content

Commit f479766

Browse files
committed
2.6.0
1 parent 79509e1 commit f479766

File tree

4 files changed

+668
-13
lines changed

4 files changed

+668
-13
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog of `@reason-react-native/datetimepicker`
22

3+
## 2.6.0 - 2020-07-27
4+
5+
- Adjust to match react-native-datetimepicker 2.6.0
6+
- Adjust to match with reason-react-native 0.62
7+
38
## 2.1.0 - 2019-10-05
49

510
Initial release.

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@reason-react-native/datetimepicker",
3-
"version": "2.1.0",
3+
"version": "2.6.0",
44
"publishConfig": {
55
"access": "public"
66
},
77
"peerDependencies": {
8-
"@react-native-community/datetimepicker": "2.1.0"
8+
"@react-native-community/datetimepicker": "2.6.0",
9+
"reason-react-native": "^0.62.0"
910
},
1011
"repository": "https://github.com/reason-react-native/datetimepicker.git",
1112
"license": "MIT",
@@ -32,12 +33,14 @@
3233
"re:clean-build": "bsb -clean-world -make-world",
3334
"start": "yarn re:start",
3435
"build": "yarn re:build",
35-
"test": "yarn re:clean-build"
36+
"test": "yarn re:clean-build",
37+
"release": "npmpub"
3638
},
3739
"devDependencies": {
3840
"bs-platform": "^8.0.0",
3941
"husky": "^4.0.0",
4042
"lint-staged": "^10.0.0",
43+
"npmpub": "^5.0.0",
4144
"prettier": "^2.0.0",
4245
"reason-react": "^0.9.0",
4346
"reason-react-native": "^0.62.0"

src/ReactNativeDateTimePicker.re

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@ external make:
2020
(
2121
~ref: ref=?,
2222
// DateTimePicker props
23-
~mode: [@bs.string] [ | `date | `time | `datetime | `countdown]=?,
2423
~display: [@bs.string] [ | `default | `spinner | `calendar | `clock]=?,
25-
~onChange: (PickerEvent.t, Js.Date.t) => unit=?,
26-
~value: Js.Date.t,
24+
~is24Hour: bool=?,
25+
~locale: locale=?,
2726
~maximumDate: Js.Date.t=?,
2827
~minimumDate: Js.Date.t=?,
29-
~timeZoneOffsetInMinutes: int=?,
30-
~locale: locale=?,
31-
~is24Hour: bool=?,
3228
~minuteInterval: [@bs.string] [
3329
| [@bs.as "1"] `_1
3430
| [@bs.as "2"] `_2
@@ -43,6 +39,12 @@ external make:
4339
| [@bs.as "30"] `_30
4440
]
4541
=?,
42+
~mode: [@bs.string] [ | `date | `time | `datetime | `countdown]=?,
43+
~neutralButtonLabel: string=?,
44+
~onChange: (PickerEvent.t, Js.Date.t) => unit=?,
45+
~textColor: string=?,
46+
~timeZoneOffsetInMinutes: int=?,
47+
~value: Js.Date.t,
4648
// View props 0.62.0
4749
~accessibilityComponentType: [@bs.string] [
4850
| `none

0 commit comments

Comments
 (0)