Files
librenms-librenms/app/View/Components/Panel.php
2020-07-22 09:18:56 -05:00

38 lines
577 B
PHP

<?php
namespace App\View\Components;
use Illuminate\View\Component;
class Panel extends Component
{
/**
* The Panel title.
*
* @var string
*/
public $title;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct($title = null)
{
$this->title = $title;
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\View\View|string
*/
public function render()
{
return view('components.panel');
}
}