@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
9 lines (8 loc) • 308 B
TypeScript
import type { RefObject } from 'react';
type Args = {
observations: IntersectionObserverEntry[];
ref: RefObject<HTMLDivElement>;
setCurrentSlideId: (id: number) => void;
};
export declare const setCurrentSlideIdToVisibleSlide: ({ observations, ref, setCurrentSlideId }: Args) => void;
export {};