retrofairie/resources/views/components/input-label.blade.php
2025-02-18 17:51:40 -08:00

5 lines
162 B
PHP

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