UNPKG

@coconut-software/ui

Version:

React components for faster and easier web development.

12 lines (11 loc) 467 B
import type { PropsWithChildren } from 'react'; import { Directions } from '../utilities/directions'; interface ColumnHeaderProps { 'data-key'?: string; dense?: boolean; sort?: Directions.Ascending | Directions.Descending; sticky?: boolean; tabIndex?: number; } declare function ColumnHeader({ 'data-key': key, dense, children, sort, sticky, tabIndex, }: PropsWithChildren<ColumnHeaderProps>): JSX.Element; export default ColumnHeader;