Components

Modal

<Modal />

Classes

ModalInline

Type Definitions

object

# ModalProps

Props passed to Modal Component
Properties:
Name Type Attributes Description
title string <optional>

dialog title

subTitle string <optional>

optional subtitle

variant VariantType <optional>

color variant

buttons Array.<ButtonProps> <optional>

Modal footer buttons

label string <optional>

Label which is seen above the text

icon string <optional>

Icon near the label

onOverlayClick function <optional>

Handler function triggered when overlay is clicked

onClose function <optional>

Function triggered when user clicks close button., If it is given - close button will appear.

View Source adminjs-design-system/src/molecules/modal/modal-props.ts, line 5