mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
38 lines
577 B
PHP
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');
|
|
}
|
|
}
|