JSPM

react-native-dismiss-keyboard

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10635
  • Score
    100M100P100Q127808F
  • License MIT

A simple way to dismiss the keyboard programmatically in a react native application.

Package Exports

  • react-native-dismiss-keyboard

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-dismiss-keyboard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-dismiss-keyboard CircleCi npm version

A simple way to dismiss the keyboard programmatically in a react native application. A demo app can be found here.

Add it to your project

  1. Run npm install react-native-dismiss-keyboard --save
  2. Import the library
  • var dismissKeyboard = require('react-native-dismiss-keyboard');
  • import dismissKeyboard from 'react-native-dismiss-keyboard';
  1. Run dismissKeyboard() anywhere in your code to close the keyboard.

Support

React Native Version react-native-dismiss-keyboard Version
>= 11 & < 23 < 1.0
>= 23 >= 1.0

If you experience any restrictions or if it works on other versions, please let us know.

Contribution

Please make sure to run the tests before proposing a PR by running npm test.