Socket
Socket
Sign inDemoInstall

react-native-touch-blocker

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-touch-blocker

TouchBolocker is a React Native and React Native Web component that helps blocking the user from interacting with children components.


Version published
Weekly downloads
26
decreased by-7.14%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

[1.0.3] - 2022-06-02

Fixed

  • Fix typescript declaration path

Readme

Source

react-native-touch-blocker

GitHub Workflow Status npm typescript License TS-Standard - Typescript Standard Style Guide

TouchBlocker is a React Native and React Native Web component that helps blocking the user from interacting with children components.

Install

npm install react-native-touch-blocker --save

or

yarn add react-native-touch-blocker

Demo

Test it online on Expo

Usage

<TouchBlocker>
  <Button
    title="Can't Touch This 😎"
    onPress={() => null}
  />
</TouchBlocker>

Props

PropDefaultTypeDescription
enableTouchEventsfalseBooleanAllow children to receive touch events

The TouchBlocker component also supports React Native View Props.

Keywords

FAQs

Last updated on 02 Jun 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc