Used to create MoonShine layouts.
The BottomBar component is designed to create a bottom navigation panel that can contain menus and other control elements.
make(iterable $components = [])make(iterable $components = [])
$components- array of components.
use MoonShine\MenuManager\MenuItem;use MoonShine\UI\Components\Layout\BottomBar;use MoonShine\UI\Components\Layout\Menu;BottomBar::make([Menu::make([MenuItem::make('/', 'Item')]);])
use MoonShine\MenuManager\MenuItem;use MoonShine\UI\Components\Layout\BottomBar;use MoonShine\UI\Components\Layout\Menu;BottomBar::make([Menu::make([MenuItem::make('/', 'Item')]);])
<x-moonshine::layout.bottom-bar><x-moonshine::layout.menu :elements="[['label' => 'Item', 'url' => '/']]"/></x-moonshine::layout.bottom-bar><x-moonshine::layout.bottom-bar><x-moonshine::layout.menu :elements="[['label' => 'Item', 'url' => '/']]"/></x-moonshine::layout.bottom-bar>