<?php extract(collect($attributes->getAttributes())->mapWithKeys(function ($value, $key) { return [Illuminate\Support\Str::camel(str_replace([':', '.'], ' ', $key)) => $value]; })->all(), EXTR_SKIP); ?>
@props(['field','class'])
<x-filament-forms::field-wrapper :field="$field" :class="$class" >

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