@using Microsoft.IdentityModel.Tokens
@inherits ComponentBase

@if (Message.IsNullOrEmpty())
{
    return;
}

<div class="p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400 border-2" role="alert">
    @Message
</div>

@code {
    /// <summary>
    /// The message to show.
    /// </summary>
    [Parameter]
    public string Message { get; set; } = string.Empty;
}
