6 lines
162 B
PHP
Raw Normal View History

2024-05-05 10:32:49 +05:45
@props(['value'])
<label {{ $attributes->merge(['class' => 'block font-medium text-sm text-gray-700 dark:text-gray-300']) }}>
{{ $value ?? $slot }}
</label>