for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Xetaravel\View\Components;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Modal extends Component
{
public function __construct(
public ?string $id = '',
public ?string $title = null,
public ?string $subtitle = null,
public ?string $boxClass = null,
public ?bool $separator = false,
public ?bool $persistent = false,
public ?bool $withoutTrapFocus = false,
// Slots
public ?string $actions = null
) {
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
return view('components.modal');