1.0.2 • Published 1 year ago

ocr-p14-modal v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Modal component

A simple Modal component for React. This component render a modal with a message in the center of the screen.

Exemple:

Getting Started

render a modal with a message in the center of the screen

Configuration

The component needs two props :

  • {message} : write here the message you want to display in the modal.
  • {onClose} : handler to close the modal. You will have to add a handle closing function in your file.

Installation

The package can be installed via npm :

npm i ocr-p14-modal

developped with the current latest version of React (v18.2.0).

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago