Files
investbrain/resources/views/components/ui/badge.blade.php
T
hackerESQ e6f38d9481 Chore: Upgrade to Laravel 12 + remove Mary and Jetstream dependencies (#141)
* docs: remove requirement for setting APP_KEY manually

* optimize date picker

* clean up modals

* spot light working

* reorganization

* add lazy load

* wip

* remove filament

* styling
2025-09-26 17:41:28 -05:00

13 lines
228 B
PHP

@props([
'value' => null,
])
@php
if (isset($class)) {
$attributes->setAttributes(['class' => $class]);
}
@endphp
<div {{ $attributes->class(["badge select-none"]) }}>
{{ $value ?? $slot ?? '' }}
</div>