UNPKG

hightable

Version:

A dynamic windowed scrolling table component for react

15 lines (14 loc) 485 B
import { OrderBy } from '../../helpers/sort.js'; interface TableProps { header: string[]; orderBy?: OrderBy; onOrderByChange?: (orderBy: OrderBy) => void; dataReady: boolean; sortable?: boolean; columnClassNames?: (string | undefined)[]; } /** * Render a header for a table. */ export default function TableHeader({ header, orderBy, onOrderByChange, dataReady, sortable, columnClassNames, }: TableProps): import("react/jsx-runtime").JSX.Element[]; export {};