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'