merge($getExtraAttributes(), escape: false)
->class([
'fi-ta-toggle',
'px-3 py-4' => ! $isInline(),
])
}}
>
@php
$offColor = $getOffColor() ?? 'gray';
$onColor = $getOnColor() ?? 'primary';
@endphp
$isDisabled,
])
>
@if ($hasOffIcon())
'text-gray-400 dark:text-gray-700',
default => 'text-custom-600',
},
])
/>
@endif
@if ($hasOnIcon())
'text-gray-400 dark:text-gray-700',
default => 'text-custom-600',
},
])
/>
@endif