mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-04-30 19:36:19 -04:00
20 lines
404 B
Plaintext
20 lines
404 B
Plaintext
@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;
|
|
}
|