Skip to content

Commit

Permalink
update data-table
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaid-maker authored Jun 22, 2024
1 parent 8097001 commit b57d971
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/data-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ export function DataTable<TData, TValue>({ columns, data }: DataTableProps<TData
</Table>
</div>
<div className="flex items-center justify-end space-x-2 py-4">
<div className="flex-1 text-sm text-muted-foreground">
{table.getFilteredSelectedRowModel().rows.length} of{' '}
{table.getFilteredRowModel().rows.length} row(s) selected.
</div>
<Button
variant="outline"
size="sm"
Expand Down

0 comments on commit b57d971

Please sign in to comment.