feat: introduce compact prop to data table component and shorten "Actualizar" button label.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
// Props para selección
|
||||
selectedIds?: number[];
|
||||
onRowClick?: (row: TData) => void;
|
||||
compact?: boolean;
|
||||
};
|
||||
|
||||
let {
|
||||
@@ -22,7 +23,8 @@
|
||||
hasMore,
|
||||
loadMore,
|
||||
selectedIds = [],
|
||||
onRowClick
|
||||
onRowClick,
|
||||
compact = false
|
||||
}: DataTableProps<TData, TValue> = $props();
|
||||
|
||||
const table = createSvelteTable({
|
||||
|
||||
@@ -972,7 +972,7 @@
|
||||
onclick={() => handleUpdateStatus(true)}
|
||||
>
|
||||
<RefreshCw class="mr-2 h-4 w-4" />
|
||||
Actualizar Est
|
||||
Actualizar
|
||||
</Button>
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
Reference in New Issue
Block a user