app/View/Components/PendingOverlay.php
<?php
namespace App\View\Components;
use Illuminate\View\Component;
class PendingOverlay extends Component
{
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Closure|string
*/
public function render()
{
return view('layouts.components.pending-overlay');
}
}