WIP
This commit is contained in:
19
app/Livewire/Menu.php
Normal file
19
app/Livewire/Menu.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Livewire;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class Menu extends Component
|
||||
{
|
||||
public string $title;
|
||||
|
||||
public function mount(?string $title) : void {
|
||||
$this->title = $title ?? config('app.name');
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.menu');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user