<?php extract((new \Illuminate\Support\Collection($attributes->getAttributes()))->mapWithKeys(function ($value, $key) { return [Illuminate\Support\Str::camel(str_replace([':', '.'], ' ', $key)) => $value]; })->all(), EXTR_SKIP); ?>
@props(['id','label','labelSrOnly','helperText','hint','hintIcon','required','statePath'])
<x-filament-forms::field-wrapper :id="$id" :label="$label" :label-sr-only="$labelSrOnly" :helper-text="$helperText" :hint="$hint" :hint-icon="$hintIcon" :required="$required" :state-path="$statePath" >

{{ $slot ?? "" }}
</x-filament-forms::field-wrapper>