MessageContainer
The MessageContainer
allows you to communicate statuses prominently. It's
either persistent or dismissible. If needed, provide actions to help users take
the following steps or resolve an issue.
MessageContainerProps
extends
, , , , , ,
Name | Type | Default | Description |
---|---|---|---|
variant? | | | | | | - | Defines the type of the panel. |
onDismiss? | () => | - | Handler that is called if the panel gets dismissed. |
MessageContainer.Prefix
The slot for an icon. <MessageContainer.Prefix />
will render a specific icon
per variant. Users can provide an icon as child, to customize the displayed
icon.
MessageContainerPrefixProps
extends
,
Name | Type | Default | Description |
---|---|---|---|
children? | - | Elements to be displayed in the prefix slot. |
MessageContainer.Title
The slot to render the title.
MessageContainerTitleProps
extends
,
Name | Type | Default | Description |
---|---|---|---|
children | - | Elements to be displayed in the title slot. |
MessageContainer.Description
The slot to render the description.
MessageContainerDescriptionProps
extends
,
Name | Type | Default | Description |
---|---|---|---|
children | - | Elements to be displayed in the description slot. |
MessageContainer.Actions
The slot to render actions.
MessageContainerActionsProps
extends
,
Name | Type | Default | Description |
---|---|---|---|
children | - | Elements to be displayed in the actions slot. |
Still have questions?
Find answers in the Dynatrace Community