@props([ 'label' => 'Badge colour', 'model', 'options' => [], ]) @php $currentValue = data_get($this, $model, 'gray'); $currentHex = \Modules\Helpdesk\Support\Color::css($currentValue); $currentText = \Modules\Helpdesk\Support\Color::text($currentValue); $currentLabel = \Modules\Helpdesk\Support\Color::label($currentValue); @endphp
class('rounded-xl border border-zinc-200 bg-white p-3 shadow-sm dark:border-zinc-700 dark:bg-zinc-950/50') }}>
{{ $currentLabel }}
@foreach ($options as $key => $option) @endforeach