@ptadmin/generic-modal-dialog

1.0.3 • Public • Published

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

/@ptadmin/generic-modal-dialog/

    Package Sidebar

    Install

    npm i @ptadmin/generic-modal-dialog

    Weekly Downloads

    2

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    13.3 kB

    Total Files

    3

    Last publish

    Collaborators

    • s.ford
    • polah
    • nunobettencourt
    • gabriellaal
    • henry.miller
    • raj.thota