@php $class = $class ?? ''; $icon = $icon ?? false; $title = $title ?? false; $body = $body ?? false; $button = $button ?? false; $button_label = $button_label ?? 'Button'; $button_url = $button_url ?? '#'; $button_modal_id = $button_modal_id ?? false; $color = $color ?? 'primary'; $padding = $padding ?? 'p-6'; $icon_classes = $icon ? 'ms-15 ms-lg-15' : 'ms-0 ms-lg-0'; @endphp
@if ($icon) {!! theme()->getSvgIcon($icon, "svg-icon-2tx svg-icon-" . $color . " me-4") !!} @endif
@if ($title || $body)
@if ($title)

{{ $title }}

@endif @if ($body)
{!! $body !!}
@endif
@endif @if ($button) putIf($button_modal_id, 'data-bs-toggle="modal" data-bs-target="' . $button_modal_id . '"') }}> {{ $button_label }} @endif