1.0.3 • Published 4 years ago

@ptadmin/generic-modal-dialog v1.0.3

Weekly downloads
3
License
ISC
Repository
-
Last release
4 years ago

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