@ptadmin/generic-modal-dialog
v1.0.3
Published
Generic modal dialog component
Downloads
1
Keywords
Readme
GenericModalDialog
GenericModalDialog is a component that renders a basic MaterialUI modal dialog.
Usage
import GenericModalDialog from '@ptadmin/generic-modal-dialog';
<GenericModalDialog />
Props
isOpen (boolean): Flag that determines whether the dialog is displayed or not
dismissible (boolean): Flag that determines whether the dialog can be closed by clicking outside of it
title (string): Title rendered by the dialog
text (string): Main text content of the dialog
actions (array): List of actions available in the dialog. Each item will render a button