Interview module is refactored to use layouts and re-usable components along with domain components. Style remains identitical to previous design.
11 lines
249 B
PHP
11 lines
249 B
PHP
@props([
|
|
'required' => false,
|
|
])
|
|
|
|
<label {{ $attributes->merge(['class' => 'block text-xs font-medium text-slate-400 mb-1']) }}>
|
|
{{ $slot }}
|
|
@if($required)
|
|
<span class="text-red-500 font-bold ml-0.5">*</span>
|
|
@endif
|
|
</label>
|