Skip to main content

Modal

Modal dialog.

Basic Usage

API

The properties of the Modal are described as follows:

PropertyDescriptionTypeDefaultrequired
appTypeset the appTypeAppTypeEnumAppTypeEnum["pc"]false
classNameset the mask class selectorString-false
dialogClassNameset the dialog class selectorString-false
modalHeaderset the headerReact.ReactNode-false
rightBtncustom close buttonReact.ReactNode-false
styleset the mask styleReact.CSSProperties-false
titleset the titleString-false
visibleset displayBoolean-true
closeModalspecify a function that will be called when a user clicks mask, close button on top right or close buttonFunction() => voidfalse