1.0.5 • Published 10 months ago

rd-panzer-modal v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Simple React modal component

A simple modal component for React Tested with node 20.15.1 and React 18.3.1

How to use

1- Install the package

npm install rd-panzer-modal

2- Import the modal component from it

Props

  • visible : a boolean that indicate if the modal should be visible or not
  • message : a string containing the message to be displayed
  • onClose : a callback that is called when the modal is closed

CSS Classes

  • modal : main container for modal (background)
  • modal-content : the modal itself
  • modal-msg : the modal message
  • modal-btn : the modal button
1.0.2

10 months ago

1.0.1

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.0

10 months ago