react-fa-picker
Version:
A reusable React Icon Picker component, bundled with its own Tailwind CSS build.
9 lines • 437 B
TypeScript
type OnReachEnd = () => void;
/**
* Watches a ShadCN <ScrollArea> (via its root ref) and calls `onReachEnd`
* once you scroll past `threshold` (default 90%) of its inner viewport,
* debounced by `debounceMs` (default 200ms).
*/
export declare function useScrollAreaEnd(rootRef: React.RefObject<HTMLElement | null>, onReachEnd: OnReachEnd, threshold?: number, debounceMs?: number): void;
export {};
//# sourceMappingURL=hooks.d.ts.map