Socket
Socket
Sign inDemoInstall

modal-theoab

Package Overview
Dependencies
175
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    modal-theoab

Modal component


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Modal Components by theo arvin

Getting Started

Install this package:

npm install modal-theoab

Import the Counter component:

import { Modal } from "modal-theoab";

then you need to call the Modal component with two props .

<Modal openModal={openModal} setOpenModal={setOpenModal}/>
  • openModal is a boolean that checks if the modal is open.

  • setOpenModal is a function that modifies the value of openModal to close the Modal directly with a close in the component

Keywords

FAQs

Last updated on 21 Apr 2023

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