@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
6 lines (5 loc) • 364 B
TypeScript
import { RefObject } from 'react';
export declare const useStickyHeader: (theadRef: RefObject<HTMLElement>, secondaryTheadRef: RefObject<HTMLElement>, secondaryTableRef: RefObject<HTMLElement>, tableWrapperRef: RefObject<HTMLElement>, stickyHeader: boolean | undefined) => {
scrollToRow: (itemNode: HTMLElement | null) => void;
scrollToTop: () => void;
};