1- # ` @reason -react-native/permissions `
1+ # ` @rescript -react-native/permissions `
22
3- [ ![ Build Status] ( https://github.com/reason -react-native/permissions/workflows/Build/badge.svg )] ( https://github.com/reason -react-native/permissions/actions )
4- [ ![ Version] ( https://img.shields.io/npm/v/@reason -react-native/permissions.svg )] ( https://www.npmjs.com/@reason -react-native/permissions )
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/permissions/workflows/Build/badge.svg )] ( https://github.com/rescript -react-native/permissions/actions )
4+ [ ![ Version] ( https://img.shields.io/npm/v/@rescript -react-native/permissions.svg )] ( https://www.npmjs.com/@rescript -react-native/permissions )
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-permissions ` ] ( https://github.com/react-native-community/react-native-permissions ) .
99
1010Exposed as ` ReactNativePermissions ` module.
1111
12- ` @reason -react-native/permissions ` X.y.\* means it's compatible with
12+ ` @rescript -react-native/permissions ` X.y.\* means it's compatible with
1313` react-native-permissions ` X.y.\*
1414
1515## Installation
@@ -20,30 +20,30 @@ is properly installed & configured by following their installation instructions,
2020you can install the bindings:
2121
2222``` console
23- npm install @reason -react-native/permissions
23+ npm install @rescript -react-native/permissions
2424# or
25- yarn add @reason -react-native/permissions
25+ yarn add @rescript -react-native/permissions
2626```
2727
28- ` @reason -react-native/permissions ` should be added to ` bs-dependencies ` in your
28+ ` @rescript -react-native/permissions ` should be added to ` bs-dependencies ` in your
2929` bsconfig.json ` :
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/permissions"
38+ + "@rescript -react-native/permissions"
3939 ],
4040 //...
4141}
4242```
4343
4444## Usage
4545
46- ``` reason
46+ ``` rescript
4747open ReactNative;
4848
4949let requestCamera = () => {
@@ -77,11 +77,11 @@ releases.
7777## Contribute
7878
7979Read the
80- [ contribution guidelines] ( https://github.com/reason -react-native/.github/blob/master/CONTRIBUTING.md )
80+ [ contribution guidelines] ( https://github.com/rescript -react-native/.github/blob/master/CONTRIBUTING.md )
8181before contributing.
8282
8383## Code of Conduct
8484
8585We want this community to be friendly and respectful to each other. Please read
86- [ our full code of conduct] ( https://github.com/reason -react-native/.github/blob/master/CODE_OF_CONDUCT.md )
86+ [ our full code of conduct] ( https://github.com/rescript -react-native/.github/blob/master/CODE_OF_CONDUCT.md )
8787so that you can understand what actions will and will not be tolerated.
0 commit comments