@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
35 lines • 1.66 kB
TypeScript
import React from 'react';
import { ColumnWidthStyle } from '../column-widths-utils';
import { TableProps } from '../interfaces';
import { StickyColumnsModel } from '../sticky-columns';
import { TableRole } from '../table-role';
export interface TableHeaderCellProps<ItemType> {
tabIndex: number;
column: TableProps.ColumnDefinition<ItemType>;
activeSortingColumn?: TableProps.SortingColumn<ItemType>;
sortingDescending?: boolean;
sortingDisabled?: boolean;
wrapLines?: boolean;
stuck?: boolean;
sticky?: boolean;
hidden?: boolean;
stripedRows?: boolean;
onClick(detail: TableProps.SortingState<any>): void;
onResizeFinish: () => void;
colIndex: number;
updateColumn: (columnId: PropertyKey, newWidth: number) => void;
resizableColumns?: boolean;
resizableStyle?: ColumnWidthStyle;
isEditable?: boolean;
columnId: PropertyKey;
stickyState: StickyColumnsModel;
cellRef: React.RefCallback<HTMLElement>;
focusedComponent?: null | string;
tableRole: TableRole;
resizerRoleDescription?: string;
isExpandable?: boolean;
hasDynamicContent?: boolean;
variant: TableProps.Variant;
}
export declare function TableHeaderCell<ItemType>({ tabIndex, column, activeSortingColumn, sortingDescending, sortingDisabled, wrapLines, focusedComponent, stuck, sticky, hidden, stripedRows, onClick, colIndex, updateColumn, resizableColumns, resizableStyle, onResizeFinish, isEditable, columnId, stickyState, cellRef, tableRole, resizerRoleDescription, isExpandable, hasDynamicContent, variant, }: TableHeaderCellProps<ItemType>): JSX.Element;
//# sourceMappingURL=index.d.ts.map