@props([
    'heading' => null,
    'ok' => 'OK',
])

@php
    $attributes = $attributes->class([
        'modal__footer_buttons',
    ])->merge([

    ]);
@endphp

<div {{ $attributes }}>
    @if($slot)
        <span class="modal__footer_text">{{ $slot }}</span>
    @endif
    
    <x-bs-button type="button" class="modal__ok" data-a11y-dialog-hide theme="primary">
        <x-bs-icon icon="cross" />{{ $ok }}
    </x-bs-button>
</div>