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
  15b1e7be_8133_ad70_a0e7_dfe1ff408b81["data-table-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  15b1e7be_8133_ad70_a0e7_dfe1ff408b81 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  15b1e7be_8133_ad70_a0e7_dfe1ff408b81 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  0e5204ae_c5d7_cc02_3599_620cb7011a92["checkbox"]
  15b1e7be_8133_ad70_a0e7_dfe1ff408b81 --> 0e5204ae_c5d7_cc02_3599_620cb7011a92
  c4660ec2_c67c_8de8_aea3_ab3bf7989b6f["dropdown-menu"]
  15b1e7be_8133_ad70_a0e7_dfe1ff408b81 --> c4660ec2_c67c_8de8_aea3_ab3bf7989b6f
  9af00736_7b63_3c3c_87d0_68c5200c5d80["input"]
  15b1e7be_8133_ad70_a0e7_dfe1ff408b81 --> 9af00736_7b63_3c3c_87d0_68c5200c5d80
  3aaa9248_aca1_99ec_ddef_2b12cbbef710["table"]
  15b1e7be_8133_ad70_a0e7_dfe1ff408b81 --> 3aaa9248_aca1_99ec_ddef_2b12cbbef710
  eff11612_0b61_f7f9_e13e_9117a7062bb3["react-table"]
  15b1e7be_8133_ad70_a0e7_dfe1ff408b81 --> eff11612_0b61_f7f9_e13e_9117a7062bb3
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  15b1e7be_8133_ad70_a0e7_dfe1ff408b81 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 15b1e7be_8133_ad70_a0e7_dfe1ff408b81 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import { Button } from "@/examples/radix/ui/button"
import { Checkbox } from "@/examples/radix/ui/checkbox"
import {
  DropdownMenu,
  DropdownMenuCheckboxItem,
  DropdownMenuContent,
  DropdownMenuGroup,
  DropdownMenuItem,
  DropdownMenuLabel,
  DropdownMenuTrigger,
} from "@/examples/radix/ui/dropdown-menu"
import { Input } from "@/examples/radix/ui/input"
import {
  Table,
  TableBody,
  TableCell,
  TableHead,
  TableHeader,
  TableRow,
} from "@/examples/radix/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,
    status: "success",
// ... (257 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/radix/data-table-demo.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free