Used to create MoonShine layouts.
The Content
component is designed for the area that displays the content part of the page.
make(iterable $components = [])
make(iterable $components = [])
$components
- array of components.
use MoonShine\UI\Components\Layout\Content;Content::make([Title::make($this->getPage()->getTitle()),Components::make($this->getPage()->getComponents()),])
use MoonShine\UI\Components\Layout\Content;Content::make([Title::make($this->getPage()->getTitle()),Components::make($this->getPage()->getComponents()),])
<x-moonshine::layout.content><article class="article">Content</article></x-moonshine::layout.content>
<x-moonshine::layout.content><article class="article">Content</article></x-moonshine::layout.content>