react-multiversal
React (native) components that works everywhere
Support
- iOS (requires
react-native
) - Android (requires
react-native
) - Web (requires
react-native-web
) - Node (requires
react-native-web
)
Requirements
rescript-react
rescript-react-native
@rescript-react-native/safe-area-context
Install
npm install https://github.com/MoOx/react-multiversal
# or
yarn add https://github.com/MoOx/react-multiversal
react-multiversal
should be added to bs-dependencies
in your
bsconfig.json
. Something like
{
//...
"bs-dependencies": [
"rescript-react",
"rescript-react-native",
"@rescript-react-native/safe-area-context",
// ...
+ "react-multiversal"
],
//...
}
Changelog
Check the changelog for more informations about recent releases.
Contribute
Read the contribution guidelines before contributing.
Code of Conduct
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.