UNPKG

@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

24 lines 946 B
import React from 'react'; import { TableProps } from './interfaces'; import { TableRole } from './table-role'; import { TheadProps } from './thead'; export interface StickyHeaderRef { scrollToTop(): void; scrollToRow(node: null | HTMLElement): void; setFocus(focusId: null | string): void; } interface StickyHeaderProps { variant: TableProps.Variant; theadProps: TheadProps; wrapperRef: React.RefObject<HTMLDivElement>; theadRef: React.RefObject<HTMLTableRowElement>; secondaryWrapperRef: React.RefObject<HTMLDivElement>; tableRef: React.RefObject<HTMLTableElement>; onScroll?: React.UIEventHandler<HTMLDivElement>; contentDensity?: 'comfortable' | 'compact'; tableHasHeader?: boolean; tableRole: TableRole; } declare const _default: React.ForwardRefExoticComponent<StickyHeaderProps & React.RefAttributes<StickyHeaderRef>>; export default _default; //# sourceMappingURL=sticky-header.d.ts.map