File tree Expand file tree Collapse file tree 4 files changed +668
-13
lines changed Expand file tree Collapse file tree 4 files changed +668
-13
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog of ` @reason-react-native/datetimepicker `
2
2
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
+
3
8
## 2.1.0 - 2019-10-05
4
9
5
10
Initial release.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @reason-react-native/datetimepicker" ,
3
- "version" : " 2.1 .0" ,
3
+ "version" : " 2.6 .0" ,
4
4
"publishConfig" : {
5
5
"access" : " public"
6
6
},
7
7
"peerDependencies" : {
8
- "@react-native-community/datetimepicker" : " 2.1.0"
8
+ "@react-native-community/datetimepicker" : " 2.6.0" ,
9
+ "reason-react-native" : " ^0.62.0"
9
10
},
10
11
"repository" : " https://github.com/reason-react-native/datetimepicker.git" ,
11
12
"license" : " MIT" ,
32
33
"re:clean-build" : " bsb -clean-world -make-world" ,
33
34
"start" : " yarn re:start" ,
34
35
"build" : " yarn re:build" ,
35
- "test" : " yarn re:clean-build"
36
+ "test" : " yarn re:clean-build" ,
37
+ "release" : " npmpub"
36
38
},
37
39
"devDependencies" : {
38
40
"bs-platform" : " ^8.0.0" ,
39
41
"husky" : " ^4.0.0" ,
40
42
"lint-staged" : " ^10.0.0" ,
43
+ "npmpub" : " ^5.0.0" ,
41
44
"prettier" : " ^2.0.0" ,
42
45
"reason-react" : " ^0.9.0" ,
43
46
"reason-react-native" : " ^0.62.0"
Original file line number Diff line number Diff line change @@ -20,15 +20,11 @@ external make:
20
20
(
21
21
~ref : ref =?,
22
22
// DateTimePicker props
23
- ~mode : [@ bs . string ] [ | ` date | ` time | ` datetime | ` countdown ] =?,
24
23
~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 =? ,
27
26
~maximumDate : Js . Date . t =?,
28
27
~minimumDate : Js . Date . t =?,
29
- ~timeZoneOffsetInMinutes : int =?,
30
- ~locale : locale =?,
31
- ~is24Hour : bool =?,
32
28
~minuteInterval : [@ bs . string ] [
33
29
| [@ bs . as "1" ] `_1
34
30
| [@ bs . as "2" ] `_2
@@ -43,6 +39,12 @@ external make:
43
39
| [@ bs . as "30" ] `_30
44
40
]
45
41
=?,
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 ,
46
48
// View props 0.62.0
47
49
~accessibilityComponentType : [@ bs . string ] [
48
50
| ` none
You can’t perform that action at this time.
0 commit comments