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

6 lines
143 B
PHP
Raw Normal View History

2022-02-11 17:26:15 +01:00
@props(['value'])
<label {{ $attributes->merge(['class' => 'block font-medium text-sm text-gray-700']) }}>
{{ $value ?? $slot }}
</label>