fixed-react-data-grid-custom
Version:
Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like
12 lines (11 loc) • 434 B
TypeScript
/// <reference types="react" />
import { HeaderRowType, DEFINE_SORT } from '../../enums';
import { CalculatedColumn } from '../../types';
export interface Props<R> {
column: CalculatedColumn<R>;
rowType: HeaderRowType;
onSort(columnKey: keyof R, direction: DEFINE_SORT): void;
sortDirection: DEFINE_SORT;
sortDescendingFirst: boolean;
}
export default function SortableHeaderCell<R>(props: Props<R>): JSX.Element;