feat: Componente para adição de flash messages após determinadas ações.

This commit is contained in:
lukibeg 2025-11-08 19:56:14 -03:00
parent 42bb548599
commit dde40993fe
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
<?php
namespace App\View\Components;
use Closure;
use Illuminate\View\Component;
use Illuminate\Contracts\View\View;
class FlashMessages extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.flash-messages');
}
}