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

react-barebones-modal

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-barebones-modal

A simple react package that is a barebones out of the box modal.

latest
Source
npmnpm
Version
1.0.14
Version published
Maintainers
1
Created
Source

Description

A simple react package that is a barebones out of the box modal.

Usage

const [showModal, setShowModal] = useState(false);
const modalClickHandler = e => console.log(e);

<Modal
  customClassName={`w80% mawa bgc-t t50 posa ofh`}
  show={showModal}
  childClickHandler={modalClickHandler} // not required
  handleClose={() => setShowModal(false)}>
    <h1> Hi! </hi>
    <div onClick={}> Close Me </div>
</Modal>

npm

npm bundle size

FAQs

Package last updated on 08 Jul 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