|
2 | 2 |
|
3 | 3 | - ⚠️ **Don't fork this repository.** Use the "Use this template" green GitHub
|
4 | 4 | button.
|
5 |
| -- Put your bindings in `src/ReactNativeSomething` & rename accordingly or use |
| 5 | +- Put your bindings in `src/ReactNativeXxxxxxxxxx` & rename accordingly or use |
6 | 6 | `bsconfig.json` `"namespace"` field (more on this below),
|
7 | 7 | - Update all occurences of
|
8 | 8 |
|
9 | 9 | - `@reason-react-native/__template__`
|
10 | 10 | - `https://github.com/reason-react-native/__template__`
|
11 | 11 | - `__template__`
|
12 |
| - - `@react-native-community/something` |
13 |
| - - `https://github.com/react-native-community/something` |
14 |
| - - `ReactNativeSomething`. If you have more than a file exposed, you should |
| 12 | + - `react-native-XXXXXXXXXX` |
| 13 | + - `https://github.com/OWNER/react-native-XXXXXXXXXX` |
| 14 | + - `ReactNativeXxxxxxxxxx`. If you have more than a file exposed, you should |
15 | 15 | consider using ReScript custom namespace by adjusting `bsconfig.json`
|
16 | 16 | and adding a `"namespace": "react-native-something"` (note that it will be
|
17 |
| - converted to `ReactNativeSomething`) |
| 17 | + converted to `ReactNativeXxxxxxxxxx`) |
18 | 18 |
|
19 |
| -- Add your `@react-native-community/something` (adjusted) in `peerDependencies` |
| 19 | +- Add your `react-native-XXXXXXXXXX` (adjusted) in `peerDependencies` |
20 | 20 | & `devDependencies` section
|
21 | 21 | - Adjust the changelog (and/or clean it)
|
22 | 22 | - Remove this part ⬆ & keep everything below ⬇
|
|
30 | 30 | [](https://reason-react-native.github.io/discord/)
|
31 | 31 |
|
32 | 32 | [ReScript](https://rescript-lang.org) / [Reason](https://reasonml.github.io) bindings for
|
33 |
| -[`@react-native-community/something`](https://github.com/react-native-community/something). |
| 33 | +[`react-native-XXXXXXXXXX`](https://github.com/OWNER/react-native-XXXXXXXXXX). |
34 | 34 |
|
35 |
| -Exposed as `ReactNativeSomething` module. |
| 35 | +Exposed as `ReactNativeXxxxxxxxxx` module. |
36 | 36 |
|
37 | 37 | `@reason-react-native/__template__` X.y.\* means it's compatible with
|
38 |
| -`@react-native-community/something` X.y.\* |
| 38 | +`react-native-XXXXXXXXXX` X.y.\* |
39 | 39 |
|
40 | 40 | ## Installation
|
41 | 41 |
|
42 | 42 | When
|
43 |
| -[`@react-native-community/something`](https://github.com/react-native-community/something) |
| 43 | +[`react-native-XXXXXXXXXX`](https://github.com/OWNER/react-native-XXXXXXXXXX) |
44 | 44 | is properly installed & configured by following their installation instructions,
|
45 | 45 | you can install the bindings:
|
46 | 46 |
|
@@ -70,13 +70,13 @@ yarn add @reason-react-native/__template__
|
70 | 70 |
|
71 | 71 | ### Types
|
72 | 72 |
|
73 |
| -#### `ReactNativeSomething.t` |
| 73 | +#### `ReactNativeXxxxxxxxxx.t` |
74 | 74 |
|
75 | 75 | ...
|
76 | 76 |
|
77 | 77 | ### Methods
|
78 | 78 |
|
79 |
| -#### `ReactNativeSomething.method` |
| 79 | +#### `ReactNativeXxxxxxxxxx.method` |
80 | 80 |
|
81 | 81 | ...
|
82 | 82 |
|
|
0 commit comments