@props([ 'name', 'show' => false, 'maxWidth' => 'md', 'closeable' => true, ]) @php $maxWidthClass = [ 'sm' => 'max-w-sm', 'md' => 'max-w-md', 'lg' => 'max-w-lg', 'xl' => 'max-w-xl', '2xl' => 'max-w-2xl', '3xl' => 'max-w-3xl', '4xl' => 'max-w-4xl', '5xl' => 'max-w-5xl', ][$maxWidth]; @endphp