using Microsoft.AspNetCore.Components; namespace Manager.App.Components.Layout; public partial class ApplicationLayout { [CascadingParameter] public BaseLayout? BaseLayout { get; set; } public bool DrawerOpen { get; set; } = true; public string AppText { get; set; } = "YouTube Import"; private void ToggleDrawerOpen() { DrawerOpen = !DrawerOpen; } }