TraceDash/resources/views/components/input-label.blade.php

6 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>