AlertLink - MikaBerglund/Blazor-Bootstrap GitHub Wiki

AlertLink Component

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

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>
⚠️ **GitHub.com Fallback** ⚠️