reuse form
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
@props(['rows' => 10, 'cols' => 7])
|
||||
|
||||
@for ($i = 0; $i < $rows; $i++)
|
||||
<tr class="animate-pulse h-[69px]">
|
||||
@for ($j = 0; $j < $cols; $j++)
|
||||
@if ($j === 1)
|
||||
<td class="px-6 py-4"><div class="h-4 bg-gray-200 rounded w-48"></div></td>
|
||||
@elseif ($j === 5)
|
||||
<td class="px-6 py-4"><div class="h-6 bg-gray-200 rounded-full w-20"></div></td>
|
||||
@elseif ($j === 6)
|
||||
<td class="px-6 py-4"><div class="h-8 bg-gray-200 rounded w-20 ml-auto"></div></td>
|
||||
@else
|
||||
<td class="px-6 py-4"><div class="h-4 bg-gray-200 rounded w-16"></div></td>
|
||||
@endif
|
||||
@endfor
|
||||
</tr>
|
||||
@endfor
|
||||
Reference in New Issue
Block a user