These are BuckleScript bindings to
React Native KeyEvent
,
in Reason syntax.
Version x.y.z
of reason-react-native-keyevent
should be compatible with
version x.y.*
of react-native-keyevent
.
Please see the changelog.
With yarn
:
yarn add reason-react-native-keyevent
With npm
:
npm install reason-react-native-keyevent
react-native-keyevent
should be properly installed, and linked if you are
using React Native versions below 0.60. Please refer to the relevant
instructions.
Finally, reason-react-native-keyevent
should be added to bs-dependencies
in
BuckleScript
configuration of the project (bsconfig.json
). For example,
{
...
"bs-dependencies": ["reason-react", "reason-react-native", "reason-react-native-keyevent"],
...
}
Please refer to the implementation, further documentation is not available.