Allow UI to delete sessions

This commit is contained in:
2024-09-07 22:26:38 -05:00
parent 0eb75994c9
commit 6b5bb96de7
11 changed files with 162 additions and 21 deletions

View File

@@ -0,0 +1,12 @@
<button @onclick="OnClick" style="@style">
@ChildContent
</button>
@code {
[Parameter][EditorRequired] public RenderFragment ChildContent { get; set; } = default!;
[Parameter][EditorRequired] public EventCallback OnClick { get; set; }
[Parameter] public string CssWidth { get; set; } = "32px";
[Parameter] public string CssHeight { get; set; } = "32px";
private string style => $"width: {CssWidth}; height: {CssHeight};";
}