@rkosafo/cai.components 0.0.56 → 0.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types/index.d.ts
CHANGED
|
@@ -38,7 +38,9 @@
|
|
|
38
38
|
onDelete,
|
|
39
39
|
onEdit,
|
|
40
40
|
onView,
|
|
41
|
-
onRowClicked
|
|
41
|
+
onRowClicked,
|
|
42
|
+
showTableBottomPadding = true,
|
|
43
|
+
tableBottomContent
|
|
42
44
|
}: TableProps = $props();
|
|
43
45
|
|
|
44
46
|
let dropdown = $state(-1);
|
|
@@ -359,7 +361,11 @@
|
|
|
359
361
|
{/each}
|
|
360
362
|
</tbody>
|
|
361
363
|
</table>
|
|
362
|
-
|
|
364
|
+
{#if tableBottomContent}
|
|
365
|
+
{@render tableBottomContent?.()}
|
|
366
|
+
{:else if showTableBottomPadding}
|
|
367
|
+
<div class="h-12"></div>
|
|
368
|
+
{/if}
|
|
363
369
|
|
|
364
370
|
{#if !$pageRows.length}
|
|
365
371
|
<div class="flex h-72 w-full items-center justify-center">
|