mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-10-22 20:42:24 +00:00
19 lines
407 B
C#
19 lines
407 B
C#
using Microsoft.AspNetCore.Components;
|
|
using MudBlazor;
|
|
|
|
namespace Lantean.QBTMud.Components.Dialogs
|
|
{
|
|
public partial class ExceptionDialog
|
|
{
|
|
[CascadingParameter]
|
|
IMudDialogInstance MudDialog { get; set; } = default!;
|
|
|
|
[Parameter]
|
|
public Exception? Exception { get; set; }
|
|
|
|
protected void Close()
|
|
{
|
|
MudDialog.Cancel();
|
|
}
|
|
}
|
|
} |