import * as React from "react"; import { ViewProps } from "../../View"; interface TableHeaderCellProps extends ViewProps { text: React.ReactNode; /** The sort keyword that is currently in effect. Used to determine whether to show the sort chevron */ currentSort?: string; /** The sort keyword that this header sorts by */ sort?: string; /** The current sort direction */ direction?: "ASC" | "DESC"; /** the action to take when the header is selected. The sort value is passed as data-sort on the event target */ sortAction?: (evt: React.SyntheticEvent) => void; /** Used to determine whether to show the double sorting chevrons for sortable columns (true) or to use the legacy single chevron (false) */ showSort?: boolean; } declare const TableHeaderCell: React.FunctionComponent; export default TableHeaderCell;