2022-11-14 10:57:31 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\View\Components;
|
|
|
|
|
|
|
|
use Illuminate\Contracts\View\View;
|
|
|
|
use Illuminate\View\Component;
|
|
|
|
|
|
|
|
class Alert extends Component
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Get the view / contents that represent the component.
|
|
|
|
*
|
2023-01-10 13:42:27 +00:00
|
|
|
* @return View
|
2022-11-14 10:57:31 +00:00
|
|
|
*/
|
2023-01-10 13:42:27 +00:00
|
|
|
public function render(): View
|
2022-11-14 10:57:31 +00:00
|
|
|
{
|
|
|
|
return view('components.alert');
|
|
|
|
}
|
|
|
|
}
|