open-vault/ui/lib/core/stories/alert-banner.md

1.1 KiB

AlertBanner

AlertBanner components are used to inform users of important messages.

Params

Param Type Default Description
type String The banner type. This comes from the message-types helper.
[message] String The message to display within the banner.
[title] String A title to show above the message. If this is not provided, there are default values for each type of alert.

Example

<AlertBanner @type="danger" @message="{{model.keyId}} is not a valid lease ID"/>

See