0.2.9 • Published 7 months ago

vemc-modal v0.2.9

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months 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

7 months ago

0.2.8

7 months ago

0.2.7

7 months ago

0.2.6

7 months ago

0.2.5

7 months ago

0.2.4

7 months ago

0.2.3

7 months ago

0.2.2

7 months ago

0.2.1

7 months ago

0.2.0

7 months ago

0.1.9

7 months ago

0.1.8

7 months ago

0.1.7

7 months ago

0.1.6

7 months ago

0.1.5

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago