Notification

inprogress

    Overview

    When to use

    Notification gives an immediate feedback about an action triggered or experienced by an user.

    When to consider an alternative

    t.b.d.


    Component

    Default

    Loud

    Toast

    Pass the toast prop to the component to have it render over the DOM Use <Notification.Container /> to set the container where toasts will be rendered


    Properties

    Default

    PropertyTypeRequiredDefaultDescription
    utilClassNamesStringfalse-
    childrenNodefalse-
    componentRefShape
    { "current": "Any" }
    false-
    variantEnum
    "default" │ "success" │ "error" │ "warning" │ "info"
    false-Exported as Notification.Variants.success etc.
    loudBoolfalse-
    titleStringfalse-
    descriptionStringfalse-
    iconNodefalse-
    actionsNodefalse-
    toastBoolfalse-
    onCloseButtonClickFuncfalse-Close button hidden when not passed