Added table with row actions and pagination. next up: filtering

This commit is contained in:
2026-02-19 23:49:30 +05:30
parent 13ca4a144b
commit ab785c610f
10 changed files with 1024 additions and 12 deletions

View File

@@ -1,4 +1,7 @@
import { Button } from "@/components/ui/button";
import { DataTable } from "./data-table";
import { columns } from "./columns";
import { customerData } from "./customer-data";
const page = () => {
return (
@@ -9,7 +12,13 @@ const page = () => {
<Button>Add Customer</Button>
</div>
<div>A table of customers</div>
<div>
<p>A table of customers</p>
<div className="w-full">
<DataTable columns={columns} data={customerData} />
</div>
</div>
</div>
);
};