1
0
cms11/app/View/Components/Update.php

27 lines
476 B
PHP
Raw Normal View History

2024-04-25 02:11:28 +02:00
<?php
namespace App\View\Components;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Update extends Component
{
/**
* Create a new component instance.
*/
public function __construct(public ?string $title = '')
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.update');
}
}