@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
49 lines • 1.19 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';
import { SortingStatus } from './utils';
export interface TableThElementProps {
resizableStyle?: ColumnWidthStyle;
sortingStatus?: SortingStatus;
sortingDisabled?: boolean;
focusedComponent?: null | string;
stuck?: boolean;
sticky?: boolean;
resizable?: boolean;
hidden?: boolean;
stripedRows?: boolean;
isSelection?: boolean;
colIndex: number;
columnId: PropertyKey;
stickyState: StickyColumnsModel;
cellRef?: React.RefCallback<HTMLElement> | null;
tableRole: TableRole;
children: React.ReactNode;
variant: TableProps.Variant;
ariaLabel?: string;
tableVariant?: string;
}
export declare function TableThElement({
resizableStyle,
sortingStatus,
sortingDisabled,
focusedComponent,
stuck,
sticky,
resizable,
hidden,
stripedRows,
isSelection,
colIndex,
columnId,
stickyState,
cellRef,
tableRole,
children,
variant,
ariaLabel,
tableVariant,
...props
}: TableThElementProps): JSX.Element;