File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -12,30 +12,30 @@ version `x.y.*` of `@react-native-community/cameraroll`.
1212
1313## Installation
1414
15- With ` yarn ` :
15+ When
16+ [ ` @react-native-community/cameraroll ` ] ( https://github.com/react-native-community/react-native-cameraroll )
17+ is properly installed & configured by following their installation instructions,
18+ you can install the bindings:
1619
17- ``` shell
18- yarn add @reason-react-native/cameraroll
19- ```
20-
21- With ` npm ` :
22-
23- ``` shell
20+ ``` console
2421npm install @reason-react-native/cameraroll
22+ # or
23+ yarn add @reason-react-native/cameraroll
2524```
2625
27- ` @react-native-community/cameraroll ` should be properly installed and linked.
28- Please refer to the relevant
29- [ instructions] ( https://github.com/react-native-community/react-native-cameraroll/blob/master/README.md ) .
30-
31- Finally, ` @reason-react-native/cameraroll ` should be added to ` bs-dependencies `
32- in ` BuckleScript ` configuration of the project (` bsconfig.json ` ). For example,
26+ ` @reason-react-native/cameraroll ` should be added to ` bs-dependencies ` in your
27+ ` bsconfig.json ` . Something like
3328
34- ``` json
29+ ``` diff
3530{
36- ...
37- "bs-dependencies" : [" reason-react" , " reason-react-native" , " @reason-react-native/cameraroll" ],
38- ...
31+ //...
32+ "bs-dependencies": [
33+ "reason-react",
34+ "reason-react-native",
35+ // ...
36+ + "@reason-react-native/cameraroll"
37+ ],
38+ //...
3939}
4040```
4141
You can’t perform that action at this time.
0 commit comments