-
⚠️ Don't fork this repository. Use the "Use this template" green GitHub button. -
Put your bindings in
src/ReactNativeXxxxxxxxxx& rename accordingly or userescript.json"namespace"field (more on this below), -
Update all occurences of
@rescript-react-native/__template__https://github.com/rescript-react-native/__template____template__react-native-XXXXXXXXXXhttps://github.com/OWNER/react-native-XXXXXXXXXXReactNativeXxxxxxxxxx. If you have more than a file exposed, you should consider using ReScript custom namespace by adjustingrescript.jsonand adding a"namespace": "react-native-something"(note that it will be converted toReactNativeXxxxxxxxxx)
-
Add your
react-native-XXXXXXXXXX(adjusted) inpeerDependencies&devDependenciessection -
Adjust the changelog (and/or clean it)
-
Remove this part ⬆ & keep everything below ⬇
ReScript bindings for react-native-XXXXXXXXXX.
Exposed as ReactNativeXxxxxxxxxx module.
@rescript-react-native/__template__ X.y.* means it's compatible with react-native-XXXXXXXXXX X.y.*
When react-native-XXXXXXXXXX is properly installed & configured by following their installation instructions, you can install the bindings:
npm install @rescript-react-native/__template__ # or yarn add @rescript-react-native/__template__@rescript-react-native/__template__ should be added to bs-dependencies in your rescript.json:
{ //... "bs-dependencies": [ "@rescript/react", "rescript-react-native", // ... + "@rescript-react-native/__template__" ], //... }...
...
Check the changelog for more informations about recent releases.
Read the contribution guidelines before contributing.
We want this community to be friendly and respectful to each other. Please read our full code of conduct so that you can understand what actions will and will not be tolerated.