UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

23 lines (22 loc) 1.1 kB
import React from 'react'; import { TableProps } from './interfaces'; import { SelectionControlProps } from './selection-control'; import { NonCancelableEventHandler } from '../internal/events'; export interface TheadProps { containerWidth: number | null; selectionType: TableProps.SelectionType | undefined; columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<any>>; sortingColumn: TableProps.SortingColumn<any> | undefined; sortingDescending: boolean | undefined; sortingDisabled: boolean | undefined; wrapLines: boolean | undefined; resizableColumns: boolean | undefined; selectAllProps: SelectionControlProps; onFocusMove: ((sourceElement: HTMLElement, fromIndex: number, direction: -1 | 1) => void) | undefined; onResizeFinish: (newWidths: Record<string, number>) => void; onSortingChange: NonCancelableEventHandler<TableProps.SortingState<any>> | undefined; sticky?: boolean; hidden?: boolean; } declare const Thead: React.ForwardRefExoticComponent<TheadProps & React.RefAttributes<HTMLTableRowElement>>; export default Thead;