New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rjs-modals

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rjs-modals

rjs-modals is a popup modal solution for react web apps.

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

About

rjs-modals is a popup modal solution for react web apps.

Getting Started

Install with npm: npm i rjs-modals Install with yarn yarn add rjs-modals

Include in your project

import Modals from 'rjs-modals/Modals
function App(){
  const [show,setShow] = useState(false)
  return(
<div>
<button onClick={()=>setShow(true)}>SHOW MODAL</button>

    <Modals
    top={100}
    left={20}
    right={20}
    width={'50%'}
    height='50%'
    background='black'
    animation='backInUp'
    border='1px solid black'
    modalHeader=<ModalHeader/>
    modalBody =<ModalBody/>
    show={show}
    setShowModal={(val)=>setShow(val)}
    />

</div>
  )
}
export default App;

Props

PropsDetails
top{100}
left{20}
right{20}
width{'50%'}
height'50%'
background'black'
animation'backInUp'
border1px solid black'
modalHeader
modalBody
show{show}
setShowModal{(val)=>setShow(val)}

https://frontend.fsdev.studio- Examples

Demo

FAQs

Package last updated on 25 Apr 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc