Convert device notes to blade (#11952)

This commit is contained in:
Jellyfrog
2020-07-22 16:18:56 +02:00
committed by GitHub
parent 0b5a9106d8
commit 2fc037ab23
8 changed files with 100 additions and 107 deletions

View File

@@ -0,0 +1,37 @@
<?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');
}
}