Dialog
Importβ
import { Dialog } from '@resultadosdigitais/tangram-components'
Propertiesβ
aria-describedby
β
Type | string |
---|
Descriptionβ
Gives the dialog an accessible name by referring to the element that provides the dialog title.
aria-labelledby
β
Type | string |
---|
Descriptionβ
Gives the dialog an accessible description by referring to the dialog content that describes the primary message or purpose.
children
β
disableEscapeKeyDown
β
disableOutsideClick
β
hideOverlay
β
onClose
β
Type | func |
---|---|
Param | event React.SyntheticEvent - The event source of the callback. |
Descriptionβ
Callback fired when the Dialog is closed.
onEscapeKeyDown
β
Type | func |
---|---|
Param | event React.SyntheticEvent - The event source of the callback. |
Descriptionβ
Callback fired when the ESC
key is pressed.
onOutsideClick
β
Type | func |
---|---|
Param | event React.SyntheticEvent - The event source of the callback. |
Descriptionβ
Callback fired when a click outside is triggered.
open
β
<DialogActions />β
Importβ
import { DialogActions } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
πβ
Concerns | π Required |
---|---|
Type | node |
Descriptionβ
Should be one of <Button />
, <IconButton />
or <LinkButton />
OR one <ButtonGroup />
<DialogContent />β
Importβ
import { DialogContent } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
<DialogHeader />β
Importβ
import { DialogHeader } from '@resultadosdigitais/tangram-components'