Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IModalElement

Element used to render a modal.

An example of a modal:

example

{
   tag: 'Modal',
   props: {
       width: 'medium'
   },
   children: [
       {
           tag: 'ModalHeader',
           props: {
               title: 'New Modal'
           }
       },
       {
           tag: 'ModalBody',
           children: [...]
       },
       {
           tag: 'ModalFooter',
           children: [...]
       },
   ]
}

Hierarchy

  • IModalElement

Index

Properties

Properties

children

Must have the following order of child elements:

  1. IModalHeaderElement
  2. IModalBodyElement
  3. IModalFooterElement

props

props: object

Must have a width of PortalModalSize.

Type declaration

tag

tag: Modal

Must be Modal.

Generated using TypeDoc