Used to create MoonShine layouts.
The ThemeSwitcher
component displays a button-icon for switching themes (light/dark).
use MoonShine\UI\Components\Layout\ThemeSwitcher;ThemeSwitcher::make()
use MoonShine\UI\Components\Layout\ThemeSwitcher;ThemeSwitcher::make()
<x-moonshine::layout.theme-switcher />
<x-moonshine::layout.theme-switcher />