@props([ /** Current active state. */ 'active' => false, /** Livewire method call to run on click, e.g. "toggleActive(5)". Resolved against the parent Livewire component. */ 'click' => '', ]) {{-- Inline active/inactive switch for catalog list rows. Renders a real switch-style control whose click runs a Livewire method on the parent component. `wire:click` inside an anonymous Blade component compiles inline, so it binds to the parent Livewire component that owns `$click`. --}}