Element used to render a modal.
An example of a modal:
{ tag: 'Modal', props: { width: 'medium' }, children: [ { tag: 'ModalHeader', props: { title: 'New Modal' } }, { tag: 'ModalBody', children: [...] }, { tag: 'ModalFooter', children: [...] }, ] }
Must have the following order of child elements:
Must have a width of PortalModalSize.
Must be one of PortalModalSize.
Must be Modal.
Generated using TypeDoc
Element used to render a modal.
An example of a modal:
{ tag: 'Modal', props: { width: 'medium' }, children: [ { tag: 'ModalHeader', props: { title: 'New Modal' } }, { tag: 'ModalBody', children: [...] }, { tag: 'ModalFooter', children: [...] }, ] }