dealhub/resources/views/components/ui/toggle-button.blade.php
kusowl 94ef8f360d feature (favorite and reported deals):
- add favorites and reported tabs in user profile pages
- add remove favorites
- customers can view a deal directly from profiles section and deal modal is shown in explore page
- fix formatting by pint
2026-01-23 16:14:04 +05:30

8 lines
257 B
PHP

@props(['active' => false])
@aware(['activeColor' => 'bg-white'])
<div
{{$attributes->class(["rounded-full hover:border-gray-300 border border-transparent transition-colors duration-300 ease-in-out", $activeColor => $active])}}
>
{{ $slot }}
</div>