for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Xetaravel\View\Components;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class ThemeToggle extends Component
{
public string $uuid;
public function __construct(
) {
$this->uuid = md5(serialize($this));
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
return view('components.theme-toggle');