🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

react-modal-lib

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-modal-lib

## Installation To install, you can use npm or yarn:

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

react-modal-lib

Installation

To install, you can use npm or yarn:

npm install react-modal-lib --save

or

yarn add react-modal-lib

Import the modal.

import Modal from 'react-modal-lib';

Usage

 <Modal open={open} onCloseClicked={toggleState} onBackDropClicked={toggleState}><h1>Pop Up</h1></Modal>

Props

open : boolean

onCloseClicked : callback function called on cross clicked

onBackDropClicked : callback function called on backdrop clicked

Keywords

modal

FAQs

Package last updated on 25 Jan 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