@props([ 'columns'=> [] ])
<div>
    <table {{ $attributes->class(['table mb-0 table-striped table-bordered table-hover text-center align-middle']) }}>
        <thead>
            <tr>
                @foreach ($columns as $column )
                <td>{{ __($column) }}</td>
                @endforeach
            </tr>
        </thead>
        <tbody>
            {{ $slot }}
        </tbody>
    </table>
</div>
