MessageContainer
Use the MessageContainer to communicate important contextual information
related to the current section or page, such as conditions, statuses, feedback,
or changes.
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. |