New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@3beeepb/react-native-keyboard-dismiss

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@3beeepb/react-native-keyboard-dismiss - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

11

index.js
import React from 'react'
import { TouchableWithoutFeedback, Keyboard, View } from 'react-native'
export default KeyboardDismiss = (children) => {
return (
const KeyboardDismissHOC = (Comp) => {
return ({children, ...props}) => (
<TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}>
<View style={{flex:1}}>
{children}
<Comp {...props}>
{children}
</Comp>
</View>
</TouchableWithoutFeedback>
)
}
}
export default KeyboardDismiss = KeyboardDismissHOC(View)
{
"name": "@3beeepb/react-native-keyboard-dismiss",
"version": "1.0.7",
"version": "1.0.8",
"description": "A simple way to dismiss the keyboard programmatically in a React Native application.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc