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

13 lines (12 loc) 431 B
import { RefObject } from 'react'; export declare const CONTAINER_ROOT_BORDER = 1; export declare const useStickyHeader: (rootRef: RefObject<HTMLDivElement>, headerRef: RefObject<HTMLDivElement>, __stickyHeader?: boolean | undefined, __stickyOffset?: number | undefined) => { isSticky: boolean | undefined; stickyStyles: { style: { top: string; }; } | { style?: undefined; }; };