react-native-keybord-dismiss

1.0.3 • Public • Published

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-dismiss

or

yarn add react-native-keyboard-dismiss
import * 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>
  )
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i react-native-keybord-dismiss

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

4.38 kB

Total Files

7

Last publish

Collaborators

  • batgerelt