Skip to main content
Version: v3.x

Modal

Type

(props: Props, renderFuncArr?: RenderFunc | Array<RenderFunc>) => result: RenderFunc

Props: object

PropertiesDescriptionRequiredTypeDefault
maskIf TRUE, mask is renderedNObooleanTRUE
maskClosableif TRUE, clicking on the background will trigger onCloseNObooleanTRUE
visibleif TRUE, then modal is visibleNOboolean-
onCloseTriggers a callback when the component requests to be closed. Optionally, you can use the reason parameter to control the response to onCloseNO() => void-