<div class="overflow-x-auto relative shadow-sm sm:rounded-lg border border-gray-200">
    <table {{ $attributes->merge(['class' => 'min-w-full divide-y divide-gray-200 text-sm text-left text-gray-500']) }}>
        @if(isset($head))
            <thead class="bg-gray-50 text-xs text-gray-700 uppercase">
                <tr>
                    {{ $head }}
                </tr>
            </thead>
        @endif
        <tbody class="bg-white divide-y divide-gray-200">
            {{ $slot }}
        </tbody>
    </table>
</div>
