{{-- -- Important note: -- -- This template is based on an example from Tailwind UI, and is used here with permission from Tailwind Labs -- for educational purposes only. Please do not use this template in your own projects without purchasing a -- Tailwind UI license, or they’ll have to tighten up the licensing and you’ll ruin the fun for everyone. -- -- Purchase here: https://tailwindui.com/ --}} @props([ 'label', 'for', 'error' => false, 'helpText' => false, 'inline' => false, 'paddingless' => false, 'borderless' => true, ]) @if($inline)
{{ $slot }} @if ($error)
{{ $error }}
@endif @if ($helpText)

{{ $helpText }}

@endif
@else
{{ $slot }} @if ($error)
{{ $error }}
@endif @if ($helpText)

{{ $helpText }}

@endif
@endif