# Make
To divide into zones, you can use the Divider decoration.
use MoonShine\Decorations\Divider; //... public function components(): array{ return [ //... Divider::make(), //... ];} //...
# Label
You can use text as a delimiter; to do this, you need to pass it to the make()
method.
use MoonShine\Decorations\Divider; //... public function components(): array{ return [ //... Divider::make('Divider'), //... ];} //...
# Centering
The centered()
method allows you to center the text.
use MoonShine\Decorations\Divider; //... public function components(): array{ return [ //... Divider::make('Divider') ->centered(), //... ];} //...