0.2.2 • Published 2 years ago

modal-p14-olivier v0.2.2

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

Getting Started with modal-P14-olivier

This project was bootstrapped with Create React App.

Link

Link to npm-package https://www.npmjs.com/package/modal-p14-olivier

Install

Install the modal-p14-olivier with NPM:

npm i modal-p14-olivier

Usage

Import the modal in your react project

import Modal from "modal-p14-olivier"

Position the modal in your project and write your text in the 'content' props

<Modal content='Employee Created' />

Style modification

Look at the architecture with associated classNames to modify the style as desired

<div className='modal-container'>
    <CloseIcon className='modal-close-icon' />
    <p className='modal-text'>
        {content}
        <CheckIcon className='check' />
    </p>
</div>