Lae/app/View/Components/Alert.php

32 lines
576 B
PHP
Raw Normal View History

2022-11-14 10:57:31 +00:00
<?php
namespace App\View\Components;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Alert extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*
* @return Application|Factory|View
*/
public function render()
{
return view('components.alert');
}
}