@props([
'label',
'name',
'type' => 'text',
'value' => '',
'required' => false,
'disabled' => false,
'readonly' => false,
'placeholder' => '',
'options' => [],
'rows' => 3,
'help' => '',
])
@if($type === 'textarea')
@elseif($type === 'select')
@elseif($type === 'checkbox')
@else
@endif
@error($name)
{{ $message }}
@enderror
@if($help)
{{ $help }}
@endif