New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-scannable

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scannable

>

latest
Source
npmnpm
Version
0.0.18
Version published
Weekly downloads
38
-43.28%
Maintainers
2
Weekly downloads
 
Created
Source

react-scannable

NPM

Install

npm install --save react-scannable

Usage

import React, { Component } from 'react';
import { Scannable, Scanner } from 'react-scannable';

class Example extends Component {
  state = {
    isActive: true,
  };

  render() {
    const active = this.state.isActive;

    return (
      <Scanner active={active}>
        <Scannable>
          <button>CLICK</button>
        </Scannable>
      </Scanner>
    );
  }
}

License

MIT © shayc

FAQs

Package last updated on 02 Feb 2023

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