1996336481
* Update repository links to point to main Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Fix broken link in relatedtools.mdx Co-authored-by: Steven Clark <steven.clark@hashicorp.com> Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
1.4 KiB
1.4 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. |
[secondIconType] | String |
|
If you want a second icon to appear to the right of the title. This comes from the message-types helper. |
[progressBar] | Object |
|
An object containing a value and maximum for a progress bar. Will be displayed next to the message title. |
[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