@props([ 'submitLabel' => null, 'cancelUrl' => null, 'cancelLabel' => null, 'loading' => false, 'loadingLabel' => null, 'align' => 'start', 'sticky' => false, ]) @php $submitLabel = $submitLabel ?: __('kview-ui-core::ui.common.save'); $cancelLabel = $cancelLabel ?: __('kview-ui-core::ui.common.cancel'); $loadingLabel = $loadingLabel ?: __('kview-ui-core::ui.common.saving'); $align = in_array($align, ['start', 'end', 'between'], true) ? $align : 'start'; $hasSlot = trim((string) $slot) !== ''; @endphp