Для разделения на зоны можно использовать декорацию Divider.
use MoonShine\Decorations\Divider;
public function components(): array
{
return [
Divider::make(),
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make(),
//...
];
}
Вы можете использовать текст в качестве разделителя; для этого нужно передать его в метод make()
.
use MoonShine\Decorations\Divider;
public function components(): array
{
return [
Divider::make('Разделитель'),
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Разделитель'),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Разделитель'),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Разделитель'),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Разделитель'),
//...
];
}
Метод centered()
позволяет центрировать текст.
use MoonShine\Decorations\Divider;
public function components(): array
{
return [
Divider::make('Разделитель')
->centered(),
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Разделитель')
->centered(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Разделитель')
->centered(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Разделитель')
->centered(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Разделитель')
->centered(),
//...
];
}