You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
914 B
26 lines
914 B
@props(['columns', 'rows', 'height'])
|
|
|
|
<div wire:loading class="w-100">
|
|
<div class="table-responsive w-100">
|
|
<table class="table mb-0 w-100">
|
|
<thead>
|
|
<tr style="visibility:hidden; height:{{ $height }}">
|
|
@for ($i = 0; $i < $columns; $i++)
|
|
<th> </th>
|
|
@endfor
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@for ($r = 0; $r < $rows; $r++)
|
|
<tr style="height:{{ $height }}">
|
|
@for ($c = 0; $c < $columns; $c++)
|
|
<td class="align-middle">
|
|
<div class="skeleton rounded w-100" style="height:1.75rem"></div>
|
|
</td>
|
|
@endfor
|
|
</tr>
|
|
@endfor
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|