@if (this.Context?.CurrentMap is not null) {
Current Map
@this.Context.CurrentMap.Name
} else { }
@code { [Parameter] public required CurrentMapComponentContext? Context { get; init; } [Parameter] public required Action OnCurrentMapClicked { get; init; } private void CurrentMapClicked() { this.OnCurrentMapClicked(); } }