1- # ` @reason -react-native/checkbox `
1+ # ` @rescript -react-native/checkbox `
22
3- [ ![ Build Status] ( https://github.com/reason -react-native/checkbox/workflows/Build/badge.svg )] ( https://github.com/reason -react-native/checkbox/actions )
4- [ ![ Version] ( https://img.shields.io/npm/v/@reason -react-native/checkbox.svg )] ( https://www.npmjs.com/@reason -react-native/checkbox )
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/checkbox/workflows/Build/badge.svg )] ( https://github.com/rescript -react-native/checkbox/actions )
4+ [ ![ Version] ( https://img.shields.io/npm/v/@rescript -react-native/checkbox.svg )] ( https://www.npmjs.com/@rescript -react-native/checkbox )
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/react-native-checkbox ` ] ( https://github.com/react-native-checkbox/react-native-checkbox ) .
99
1010The module will be exposed as ` ReactNativeCheckbox ` .
1111
12- Version x.y.z of ` @reason -react-native/checkbox ` is intended to be compatible
12+ Version x.y.z of ` @rescript -react-native/checkbox ` is intended to be compatible
1313with version x.y.z of ` @react-native-community/react-native-checkbox ` .
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/checkbox
23+ npm install @rescript -react-native/checkbox
2424# or
25- yarn add @reason -react-native/checkbox
25+ yarn add @rescript -react-native/checkbox
2626```
2727
28- ` @reason -react-native/checkbox ` should be added to ` bs-dependencies ` in your
28+ ` @rescript -react-native/checkbox ` should be added to ` bs-dependencies ` in your
2929` 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/checkbox"
38+ + "@rescript -react-native/checkbox"
3939 ],
4040 //...
4141}
@@ -49,7 +49,7 @@ yarn add @reason-react-native/checkbox
4949
5050Assuming ` checkboxEvent ` is ` CheckBoxEvent.t ` , you can access
5151
52- ``` reason
52+ ``` rescript
5353checkboxEvent.nativeEvent.target // => int
5454checkboxEvent.nativeEvent.value // => bool
5555```
@@ -95,7 +95,7 @@ When `true`, user will not be able to toggle the checkbox. Default value is
9595
9696#### ` tintColors `
9797
98- ``` reason
98+ ``` rescript
9999tintColors:
100100 (~_true: int=?, ~_false: int=?, unit) => tintColors
101101```
@@ -150,8 +150,8 @@ The type of animation to use when the checkbox gets unchecked. Defaults to
150150### ` View ` props
151151
152152Refer to
153- [ ` reason -react-native` ] ( https://github.com/reason -react-native/react-native )
154- [ documentation] ( https://reasonml-community .github.io/reason-react-native /en/docs/components/View/ ) .
153+ [ ` rescript -react-native` ] ( https://github.com/rescript -react-native/react-native )
154+ [ documentation] ( https://rescript-react-native .github.io/en/docs/components/View/ ) .
155155
156156---
157157
@@ -162,10 +162,10 @@ releases.
162162
163163## Contribute
164164
165- Read the [ contribution guidelines] ( https://github.com/reason -react-native/.github/blob/master/CONTRIBUTING.md ) before contributing.
165+ Read the [ contribution guidelines] ( https://github.com/rescript -react-native/.github/blob/master/CONTRIBUTING.md ) before contributing.
166166
167167## Code of Conduct
168168
169169We want this community to be friendly and respectful to each other. Please read
170- [ our full code of conduct] ( https://github.com/reason -react-native/.github/blob/master/CODE_OF_CONDUCT.md ) so that you can understand what
170+ [ our full code of conduct] ( https://github.com/rescript -react-native/.github/blob/master/CODE_OF_CONDUCT.md ) so that you can understand what
171171actions will and will not be tolerated.
0 commit comments