diff --git a/resources/js/components/data-table.tsx b/resources/js/components/data-table.tsx index 2a8c01c..6bc5656 100644 --- a/resources/js/components/data-table.tsx +++ b/resources/js/components/data-table.tsx @@ -45,6 +45,13 @@ import { EmptyMedia, EmptyTitle, } from "@/components/ui/empty" +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "@/components/ui/select" interface DataTableFilterOption { columnId: string; @@ -332,6 +339,26 @@ export function DataTable({ {table.getFilteredRowModel().rows.length} baris dipilih.
+
+

Baris per halaman

+ +
{table.getFilteredRowModel().rows.length > 0 ? ( <>