reworked and recolored Table Component
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<div class="border border-zinc-300 rounded-lg shadow">
|
||||
<table class="w-full rounded-lg">
|
||||
<thead class="bg-zinc-200 border-b border-zinc-300 rounded-t-lg">
|
||||
<tr class="text-left">
|
||||
{{ $tableheader }}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="bg-zinc-100">
|
||||
{{ $slot }}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@isset($pagination)
|
||||
<div class="px-6 py-4 bg-zinc-100 rounded-b-lg">
|
||||
{{ $pagination }}
|
||||
</div>
|
||||
@endisset
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user