@inject IJSRuntime JS
@if (Back) {
@BackTo
}

@Title

@if (ShowFilter) { } @if (ShowNotifications) { }
@code{ [Parameter] public string? Title { get; set; } [Parameter] public bool ShowFilter { get; set; } [Parameter] public bool ShowNotifications { get; set; } = true; [Parameter] public bool Back { get; set; } [Parameter] public string BackTo { get; set; } = ""; private async Task GoBack() { await JS.InvokeVoidAsync("goBack"); } }