UNPKG

hightable

Version:

A dynamic windowed scrolling table component for react

20 lines (19 loc) 748 B
import { ReactNode } from 'react'; import { ColumnConfig } from '../../helpers/columnConfiguration.js'; import { Direction } from '../../helpers/sort.js'; interface Props { columnIndex: number; columnName: string; columnConfig: ColumnConfig; children?: ReactNode; canMeasureWidth?: boolean; direction?: Direction; onClick?: () => void; orderByIndex?: number; orderBySize?: number; ariaColIndex: number; ariaRowIndex: number; className?: string; } export default function ColumnHeader({ columnIndex, columnName, columnConfig, canMeasureWidth, direction, onClick, orderByIndex, orderBySize, ariaColIndex, ariaRowIndex, className, children }: Props): import("react/jsx-runtime").JSX.Element; export {};