1
- # ` @reason -react-native/permissions `
1
+ # ` @rescript -react-native/permissions `
2
2
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 / )
6
6
7
- [ ReScript] ( https://rescript-lang.org ) / [ Reason ] ( https://reasonml.github.io ) bindings for
7
+ [ ReScript] ( https://rescript-lang.org ) bindings for
8
8
[ ` react-native-permissions ` ] ( https://github.com/react-native-community/react-native-permissions ) .
9
9
10
10
Exposed as ` ReactNativePermissions ` module.
11
11
12
- ` @reason -react-native/permissions ` X.y.\* means it's compatible with
12
+ ` @rescript -react-native/permissions ` X.y.\* means it's compatible with
13
13
` react-native-permissions ` X.y.\*
14
14
15
15
## Installation
@@ -20,30 +20,30 @@ is properly installed & configured by following their installation instructions,
20
20
you can install the bindings:
21
21
22
22
``` console
23
- npm install @reason -react-native/permissions
23
+ npm install @rescript -react-native/permissions
24
24
# or
25
- yarn add @reason -react-native/permissions
25
+ yarn add @rescript -react-native/permissions
26
26
```
27
27
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
29
29
` bsconfig.json ` :
30
30
31
31
``` diff
32
32
{
33
33
//...
34
34
"bs-dependencies": [
35
- "reason- react",
36
- "reason -react-native",
35
+ "@rescript/ react",
36
+ "rescript -react-native",
37
37
// ...
38
- + "@reason -react-native/permissions"
38
+ + "@rescript -react-native/permissions"
39
39
],
40
40
//...
41
41
}
42
42
```
43
43
44
44
## Usage
45
45
46
- ``` reason
46
+ ``` rescript
47
47
open ReactNative;
48
48
49
49
let requestCamera = () => {
@@ -77,11 +77,11 @@ releases.
77
77
## Contribute
78
78
79
79
Read 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 )
81
81
before contributing.
82
82
83
83
## Code of Conduct
84
84
85
85
We 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 )
87
87
so that you can understand what actions will and will not be tolerated.
0 commit comments