@using Moonlight.Client.UI.Layouts
@if (Layout.ShowMobileNavigation) { } else { }
@* *@
@code { [Parameter] public MainLayout Layout { get; set; } protected override async Task OnAfterRenderAsync(bool firstRender) { if(!firstRender) return; Layout.OnStateChanged += () => InvokeAsync(StateHasChanged); } }