e6f38d9481
* 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
13 lines
228 B
PHP
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> |