0.2.9 • Published 2 years ago

vemc-modal v0.2.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

vemc-modal

Description

A modal pluggin for react using create-react-app.

Installation

Run the following command:

npm install vemc-modal

How to use ?

1 - Import the pluggin :

import {Modal} from "vemc-modal"

2 - Use this state :

const [displayModal, setDisplayModal] = useState(false)

3 - Return the modal :

<Modal
    showModal={displayModal}
    hideModal={()=>setDisplayModal(false)}
    title="Enter your modal title here" 
    message="Hello, your message here" 
    buttonText1="Ok"
    buttonText2="Cancel"
/>
0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago