{{--
================================================================
Wishlist Button Component — x-wishlist-btn
================================================================
Props:
• courseId (int) — required
• isActive (bool) — initial wishlist state
• size (string) — 'sm' | 'md' | 'full' (default: 'md')
Variants:
• 'sm' / 'md' — floating icon on card top bar (white background)
• 'full' — full-width labeled button (course show sidebar)
================================================================
--}}
@props([
'courseId',
'isActive' => false,
'size' => 'md',
])
@php
$btnId = "wl-btn-{$courseId}";
$iconId = "wl-icon-{$courseId}";
$textId = "wl-text-{$courseId}";
@endphp
@if($size === 'full')
{{-- ── Full-width button (course show sidebar) ── --}}
@else
{{-- ── Compact icon button (floating on card — white background) ── --}}
@endif