@props([
    'summary' => null,
    'showLabel' => true,
    'muted' => false,
])

@if (filled($summary))
    <div @class([
        'text-sm',
        'text-gray-700 dark:text-gray-200' => ! $muted,
        'text-gray-500 dark:text-gray-400' => $muted,
    ])>
        @if ($showLabel)
            <p class="mb-1 font-medium text-gray-900 dark:text-white">
                {{ __('dberp.system_update_notice.panel.summary_label') }}
            </p>
        @endif
        <div class="whitespace-pre-line leading-relaxed">{{ $summary }}</div>
    </div>
@endif
