Components

Body

Used to create MoonShine layouts.

The Body component is designed to create a <body> tag.

make(iterable $components = [])
make(iterable $components = [])
  • $components - array of components.
use MoonShine\UI\Components\Layout\Body;
 
Body::make([
// ...
])
use MoonShine\UI\Components\Layout\Body;
 
Body::make([
// ...
])
<x-moonshine::layout.body>
Any content
</x-moonshine::layout.body>
<x-moonshine::layout.body>
Any content
</x-moonshine::layout.body>