Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

simple-modal-component-bourin

Package Overview
Dependencies
10
Maintainers
1
Versions
12
Issues
File Explorer

Advanced tools

simple-modal-component-bourin

A simple & lightweight method of displaying modal windows.

    0.2.3latest

Version published
Maintainers
1
Yearly downloads
495

Weekly downloads

Readme

Source

A simple & lightweight method of displaying modal windows.

Installation

To install, you can use npm or yarn:

$ npm install simple-modal-component $ yarn add simple-modal-component

Usage

import Modal from "@simple-modal-component-ab/Modal"; export const Exemple = () => { const [isOpened, setIsOpened] = useState(false); return( <Modal isOpened={isOpened} onClose={() => setIsOpened(false)} > <p>Your text here</p> </Modal> ) }```
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc