UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

22 lines (21 loc) 623 B
import { RefObject } from 'react'; interface UseScrollOverflowProps { domRef: RefObject<HTMLElement | null>; isEnabled?: boolean; offset?: number; onVisibilityChange?: (visibility: { bottom?: boolean; left?: boolean; right?: boolean; top?: boolean; }) => void; orientation?: 'vertical' | 'horizontal'; updateDeps?: any[]; } export declare const useScrollOverflow: ({ domRef, offset, orientation, isEnabled, onVisibilityChange, updateDeps, }: UseScrollOverflowProps) => { bottom: boolean; left: boolean; right: boolean; top: boolean; }; export {};