1- # ` @reason -react-native/datetimepicker `
1+ # ` @rescript -react-native/datetimepicker `
22
3- [ ![ Build Status] ( https://github.com/reason -react-native/datetimepicker/workflows/Build/badge.svg )] ( https://github.com/reason -react-native/datetimepicker/actions )
4- [ ![ Version] ( https://img.shields.io/npm/v/@reason -react-native/datetimepicker.svg )] ( https://www.npmjs.com/@reason -react-native/datetimepicker )
5- [ ![ Chat ] ( https://img.shields.io/discord/235176658175262720.svg?logo=discord&colorb=blue )] ( https://reasonml-community.github.io/reason-react-native/discord / )
3+ [ ![ Build Status] ( https://github.com/rescript -react-native/datetimepicker/workflows/Build/badge.svg )] ( https://github.com/rescript -react-native/datetimepicker/actions )
4+ [ ![ Version] ( https://img.shields.io/npm/v/@rescript -react-native/datetimepicker.svg )] ( https://www.npmjs.com/@rescript -react-native/datetimepicker )
5+ [ ![ ReScript Forum ] ( https://img.shields.io/discourse/posts?color=e6484f&label=ReScript%20Forum&server=https%3A%2F%2Fforum.rescript-lang.org )] ( https://forum.rescript-lang.org / )
66
7- [ ReScript] ( https://rescript-lang.org ) / [ Reason ] ( https://reasonml.github.io ) bindings for
7+ [ ReScript] ( https://rescript-lang.org ) bindings for
88[ ` @react-native-community/datetimepicker ` ] ( https://github.com/react-native-community/react-native-datetimepicker ) .
99
1010Exposed as the ` ReactNativeDateTimePicker ` module.
1111
12- Version x.y.z of ` @reason -react-native/datetimepicker ` is intended to be
12+ Version x.y.z of ` @rescript -react-native/datetimepicker ` is intended to be
1313compatible with version x.y.z of ` @react-native-community/datetimepicker ` .
1414
1515## Installation
@@ -20,22 +20,22 @@ is properly installed & configured by following their installation instructions,
2020you can install the bindings:
2121
2222``` console
23- npm install @reason -react-native/datetimepicker
23+ npm install @rescript -react-native/datetimepicker
2424# or
25- yarn add @reason -react-native/datetimepicker
25+ yarn add @rescript -react-native/datetimepicker
2626```
2727
28- ` @reason -react-native/datetimepicker ` should be added to ` bs-dependencies ` in
28+ ` @rescript -react-native/datetimepicker ` should be added to ` bs-dependencies ` in
2929your ` bsconfig.json ` . For example,
3030
3131``` diff
3232{
3333 //...
3434 "bs-dependencies": [
35- "reason- react",
36- "reason -react-native",
35+ "@rescript/ react",
36+ "rescript -react-native",
3737 // ...
38- + "@reason -react-native/datetimepicker"
38+ + "@rescript -react-native/datetimepicker"
3939 ],
4040 //...
4141}
@@ -55,7 +55,7 @@ for valid values.
5555
5656Assuming ` pickerEvent ` is ` PickerEvent.t ` , you can access
5757
58- ``` reason
58+ ``` rescript
5959pickerEvent.nativeEvent.target // => option(int)
6060pickerEvent.nativeEvent.timestamp // => int
6161```
@@ -147,10 +147,10 @@ releases.
147147
148148## Contribute
149149
150- Read the [ contribution guidelines] ( https://github.com/reason -react-native/.github/blob/master/CONTRIBUTING.md ) before contributing.
150+ Read the [ contribution guidelines] ( https://github.com/rescript -react-native/.github/blob/master/CONTRIBUTING.md ) before contributing.
151151
152152## Code of Conduct
153153
154154We want this community to be friendly and respectful to each other. Please read
155- [ our full code of conduct] ( https://github.com/reason -react-native/.github/blob/master/CODE_OF_CONDUCT.md ) so that you can understand what
155+ [ our full code of conduct] ( https://github.com/rescript -react-native/.github/blob/master/CODE_OF_CONDUCT.md ) so that you can understand what
156156actions will and will not be tolerated.
0 commit comments