0.1.2 • Published 9 months ago
react-native-hide-keyboard-when-focus v0.1.2
react-native-hide-keyboard-when-focus
Used to hide keyboard when user focus on input
Installation
Install via NPM Check In NPM
npm install react-native-hide-keyboard-when-focus --save
Or install via github
npm install https://github.com/TruongTran0813/react-native-hide-keyboard-when-focus.git --save
Usage
import { hideKeyboard } from 'react-native-hide-keyboard-when-focus';
// ...
<TextInput onFocus={() => hideKeyboard()} />;
License
MIT
Made with create-react-native-library