UNPKG

@heroui/table

Version:

Tables are used to display tabular data using rows and columns.

31 lines (28 loc) 929 B
import * as _heroui_system from '@heroui/system'; import { HTMLHeroUIProps } from '@heroui/system'; import { GridNode } from '@react-types/grid'; import { Key } from 'react'; import { ValuesType } from './use-table.js'; import '@react-types/table'; import '@heroui/theme'; import '@react-stately/virtualizer'; import '@react-types/shared'; import '@react-stately/table'; import '@react-aria/table'; import '@heroui/react-utils'; import '@heroui/checkbox'; interface TableCellProps<T = object> extends HTMLHeroUIProps<"td"> { /** * The key of the table row. */ rowKey: Key; /** * The table cell. */ node: GridNode<T>; slots: ValuesType["slots"]; state: ValuesType["state"]; classNames?: ValuesType["classNames"]; } declare const TableCell: _heroui_system.InternalForwardRefRenderFunction<"td", TableCellProps<object>, never>; export { type TableCellProps, TableCell as default };