Home / File/ data-table-demo.tsx — ui Source File

data-table-demo.tsx — ui Source File

Architecture documentation for data-table-demo.tsx, a tsx file in the ui codebase. 8 imports, 0 dependents.

File tsx DocumentationAtlas Changelog 8 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  285a23b1_4392_9b78_2760_1cba1febfc73["data-table-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  285a23b1_4392_9b78_2760_1cba1febfc73 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  285a23b1_4392_9b78_2760_1cba1febfc73 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  701738bf_cdcf_955d_1e15_8125ef50e18b["checkbox"]
  285a23b1_4392_9b78_2760_1cba1febfc73 --> 701738bf_cdcf_955d_1e15_8125ef50e18b
  c4ec47ed_7434_868c_4320_f03b26dfd4e8["dropdown-menu"]
  285a23b1_4392_9b78_2760_1cba1febfc73 --> c4ec47ed_7434_868c_4320_f03b26dfd4e8
  9a309fc5_4306_d01f_08ce_72db23e48652["input"]
  285a23b1_4392_9b78_2760_1cba1febfc73 --> 9a309fc5_4306_d01f_08ce_72db23e48652
  0f04a46b_9f24_11ac_9b3a_a2148feb5cd0["table"]
  285a23b1_4392_9b78_2760_1cba1febfc73 --> 0f04a46b_9f24_11ac_9b3a_a2148feb5cd0
  eff11612_0b61_f7f9_e13e_9117a7062bb3["react-table"]
  285a23b1_4392_9b78_2760_1cba1febfc73 --> eff11612_0b61_f7f9_e13e_9117a7062bb3
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  285a23b1_4392_9b78_2760_1cba1febfc73 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 285a23b1_4392_9b78_2760_1cba1febfc73 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import { Button } from "@/examples/base/ui/button"
import { Checkbox } from "@/examples/base/ui/checkbox"
import {
  DropdownMenu,
  DropdownMenuCheckboxItem,
  DropdownMenuContent,
  DropdownMenuGroup,
  DropdownMenuItem,
  DropdownMenuLabel,
  DropdownMenuSeparator,
  DropdownMenuTrigger,
} from "@/examples/base/ui/dropdown-menu"
import { Input } from "@/examples/base/ui/input"
import {
  Table,
  TableBody,
  TableCell,
  TableHead,
  TableHeader,
  TableRow,
} from "@/examples/base/ui/table"
import {
  flexRender,
  getCoreRowModel,
  getFilteredRowModel,
  getPaginationRowModel,
  getSortedRowModel,
  useReactTable,
  type ColumnDef,
  type ColumnFiltersState,
  type SortingState,
  type VisibilityState,
} from "@tanstack/react-table"
import { ArrowUpDown, ChevronDown, MoreHorizontal } from "lucide-react"

const data: Payment[] = [
  {
    id: "m5gr84i9",
    amount: 316,
    status: "success",
    email: "ken99@example.com",
  },
  {
    id: "3u1reuv4",
    amount: 242,
    status: "success",
    email: "Abe45@example.com",
  },
  {
    id: "derv1ws0",
    amount: 837,
    status: "processing",
    email: "Monserrat44@example.com",
  },
  {
    id: "5kma53ae",
    amount: 874,
// ... (259 more lines)

Subdomains

Functions

Types

Dependencies

  • button
  • checkbox
  • dropdown-menu
  • input
  • lucide-react
  • react
  • react-table
  • table

Frequently Asked Questions

What does data-table-demo.tsx do?
data-table-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in data-table-demo.tsx?
data-table-demo.tsx defines 1 function(s): DataTableDemo.
What does data-table-demo.tsx depend on?
data-table-demo.tsx imports 8 module(s): button, checkbox, dropdown-menu, input, lucide-react, react, react-table, table.
Where is data-table-demo.tsx in the architecture?
data-table-demo.tsx is located at apps/v4/examples/base/data-table-demo.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/base).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free