{{-- A dialog for the forms that are too big for a row and too small for a page. Visibility is the component's state (`:show="$editing"`), so a dropped websocket or a validation error never leaves a half-open modal behind - which is why this is not the theme's data-tw-toggle modal, only its look. --}} @props(['show' => false, 'title' => null, 'close' => null, 'width' => 'max-w-lg']) @if ($show)
class(['modal-content w-full rounded-md bg-white shadow-md', $width]) }}> @isset($footer) @endisset
@endif