File size: 328 Bytes
5f32fbd
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@aware(['id', 'label', 'tooltip', 'error'])
@props([
    'id' => null,
    'tooltip' => null,
    'label' => null,
    'error' => null,
])
<label class="form-label" :for="$id('text-input')">
    <span>{{ $label }}</span>

    @if ($tooltip)
        <x-info-tooltip class="block ml-2" text="{{ $tooltip }}" />
    @endif
</label>