@props([ 'style' => 1, 'link' => null, 'title' => null, 'value' => null, 'icon' => null, 'bg' => null, 'color' => null, 'icon_color' => null, 'icon_style' => 'outline', 'overlay_icon' => 1, 'query_string' => null, 'parameters' => null, ]) @php $iconColor = $icon_color ?? $color; $widget = 'x-widget-' . $style; if ($link && can($link)) { $link = route($link, $parameters); $link = $query_string ? $link . '?' . $query_string : $link; } else { $link = null; } @endphp @if ($style == 1) @endif @if ($style == 2) @endif @if ($style == 3) @endif @if ($style == 4) @endif @if ($style == 5) @endif