🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-native-keyboard-dismiss-view

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-keyboard-dismiss-view

A touch intercepting view to dismiss the keyboard.

1.0.4
latest
Source
npm
Version published
Weekly downloads
6
200%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-keyboard-dismiss-view

NPM version

A touch intercepting view to dismiss the keyboard.

Install

$ npm install react-native-keyboard-dismiss-view

Usage

React Native

import KeyboardDismissView, { dismissKeyboard } from 'react-native-keyboard-dismiss-view';

export default function Home() {
  return (
    <KeyboardDismissView style={{flex: 1}}>
      <TextInput
        placeholder="Email address"
      />
      <Button title="Submit" onPress={() => alert('pressed')} />
      <Button title="Dismiss keyboard" onPress={dismissKeyboard} />
    </KeyboardDismissView>
  );
}

Keywords

react-native

FAQs

Package last updated on 21 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts