Skip to content

AlertLink

Mika Berglund edited this page Feb 28, 2020 · 2 revisions

AlertLink Component

This component can be used inside of Alert components to provide link colors matching with the parent Alert component.

Inheritance

AlertLink : Anchor

Parameters

This component does not currently expose any parameters.

Examples

Add a link to a simple alert. You can use any attributes for an <a> element on the AlertLink component too. These will be added to the resulting <a> element.

@using BlazorBootstrap.Components

<Alert Color="NamedColor.Success">
    We have received your order! You can follow the delivery <AlertLink href="https://..." target="_blank">here</AlertLink>.
</Alert>
Clone this wiki locally