UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

20 lines (19 loc) 590 B
export type UseScrollDividerResult = { hasBottomDivider: boolean; hasTopDivider: boolean; isAtBottom: boolean; isScrollable: boolean; isScrolling: boolean; ref: (node: HTMLElement | null) => void; }; /** * @returns information about which dividers to display based on whether an observed content is scrolled to the top or bottom */ export declare const useScrollDivider: () => { ref: (node: HTMLElement | null) => void; hasTopDivider: boolean; hasBottomDivider: boolean; isAtBottom: boolean; isScrolling: boolean; isScrollable: boolean; };