@props([ 'actions' => null, 'footer' => null, 'header' => null, 'heading' => null, ])
class([ 'p-2 space-y-2 bg-white rounded-xl shadow', 'dark:border-gray-600 dark:bg-gray-800' => config('filament.dark_mode'), ]) }}> @if ($actions || $header || $heading)
@if ($header) {{ $header }} @elseif ($actions || $heading)
{{ $heading }} @if ($actions)
{{ $actions }}
@endif
@endif
@endif @if (($actions || $header || $heading) && $slot->isNotEmpty()) @endif
@if ($slot->isNotEmpty())
{{ $slot }}
@endif
@if ($footer && $slot->isNotEmpty()) @endif @if ($footer)
{{ $footer }}
@endif