forge/resources/views/components/label.blade.php

6 lines
162 B
PHP
Raw Normal View History

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