1.0.3 • Published 2 years ago
react-native-keybord-dismiss v1.0.3
react-native-keyboard-dismiss
A React Native component that wraps TouchableWithoutFeedback to automatically dismiss the keyboard when tapped.
Installation
To use this component in your React Native project, you can install it via npm or yarn:
npm install react-native-keyboard-dismissor
yarn add react-native-keyboard-dismissimport * as Native from "react-native";
import KeyboardDismiss from 'react-native-keyboard-dismiss';
export default (props) => {
return(
<KeyboardDismiss>
<Native.TextInput placeholder="Input some text here..." />
</KeyboardDismiss>
)
}