modal-dila
v1.0.2
Published
This component is used to have a modal/popup that is opened clicking a component
Downloads
1
Readme
MODAL-DILA PACKAGE
This is a modal/popup component to use in yout applications
Installation:
npm install moda-dila --save-dev
or
yarn add -D modal-dila
Usage :
Add Modal
to your component:
import React from 'react'
import ReactDOM from 'react-dom/client'
import { Modal } from 'modal-dila'
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<div>
<Moldal />
</div>
</React.StrictMode>,
)