Skip to main content

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, , , , , , ,
    NameTypeDefaultDescription
    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,
    NameTypeDefaultDescription
    children?

    Elements to be displayed in the prefix slot.

    MessageContainer.Title​

    The slot to render the title.

    MessageContainerTitleProps

    extends,
    NameTypeDefaultDescription
    children

    Elements to be displayed in the title slot.

    MessageContainer.Description​

    The slot to render the description.

    MessageContainerDescriptionProps

    extends,
    NameTypeDefaultDescription
    children

    Elements to be displayed in the description slot.

    MessageContainer.Actions​

    The slot to render actions.

    MessageContainerActionsProps

    extends,
    NameTypeDefaultDescription
    children

    Elements to be displayed in the actions slot.

    Still have questions?
    Find answers in the Dynatrace Community