Modal

Examples

Simple Modal

Copied to clipboard

Large Modal

Copied to clipboard

Modal Props

The Modal component accepts the following props.

NameTypeRequiredDefaultDescription
children
node
content rendered inside the Modal.
className
string
''additional classes added to the Modal
isOpen
bool
falseFlag to show the modal
title
string
Content of the Modal Header
hideTitle
bool
falseFlag to show the title
actions
any
[]Action buttons to put in the Modal Footer
onClose
func
() => undefinedA callback for when the close button is clicked
isLarge
bool
falseCreates a large version of the Modal