@atlaskit/dynamic-table
Version:
A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.
30 lines (29 loc) • 816 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import React, { type FC, type Ref } from 'react';
import { type SortOrderType } from '../types';
export interface TableHeadCellProps {
colSpan?: number;
sortKey?: string;
isSortable?: boolean;
sortOrder?: SortOrderType;
isFixedSize?: boolean;
innerRef?: Ref<HTMLTableCellElement>;
inlineStyles?: {};
content?: React.ReactNode;
onClick?: () => void;
shouldTruncate?: boolean;
testId?: string;
width?: number;
isRanking?: boolean;
headCellId: string;
activeSortButtonId?: string | null;
ascendingSortTooltip?: string;
descendingSortTooltip?: string;
buttonAriaRoleDescription?: string;
isIconOnlyHeader?: boolean;
}
declare const TableHeadCell: FC<TableHeadCellProps>;
export default TableHeadCell;