UNPKG

@vnmfify/core

Version:

```shell npm i @vnmfify/core -S ```

13 lines (12 loc) 417 B
/// <reference types="react" /> import { Rect } from "../utils/dom/rect"; interface IndexListContextValue { sticky?: boolean; stickyOffsetTop?: number | string; activeIndex: number | string; activeArrayedIndex: number; getListRect(): Rect; getAnchorRects(): Rect[]; } declare const IndexListContext: import("react").Context<IndexListContextValue>; export default IndexListContext;