Modal
Examples
Modal Props
The Modal component accepts the following props.
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | node | content rendered inside the Modal. | ||
className | string | '' | additional classes added to the Modal | |
isOpen | bool | false | Flag to show the modal | |
title | string | Content of the Modal Header | ||
hideTitle | bool | false | Flag to show the title | |
actions | any | [] | Action buttons to put in the Modal Footer | |
onClose | func | () => undefined | A callback for when the close button is clicked | |
isLarge | bool | false | Creates a large version of the Modal |