@table-utils/jsx-table
Version:
A simple, accessible table view.
11 lines (10 loc) • 414 B
TypeScript
import * as React from 'react';
import type { As } from '../typings/As';
export declare type TableHeadCellProps<E extends HTMLElement = HTMLTableHeaderCellElement, P = any> = React.TableHTMLAttributes<E> & As<P> & {
/**
* Set true to indicate the column is sortable.
* Use the aria-sort property to
*/
sortable?: boolean;
};
export declare const TableHeadCell: React.FC<TableHeadCellProps>;