Closed SamMousa closed 7 years ago
@SamMousa hello! Thanks for PR. Could you wrote an usage example for http://gentelella.yiister.ru/site/panel page?
<?php
Panel::begin(
[
'header' => 'Panel with extra tool menu items',
'icon' => 'cog',
'tools' => [
[
'label' => 'The first item',
'url' => '#',
],
[
'label' => 'The second item',
'url' => '#',
],
],
]
)
?>
Make
$tools
public to allow directly adding items to the panels menu. Instead of just theheaderMenu
.