design-react-kit
Version:
Componenti React per Bootstrap 5
8 lines (7 loc) • 368 B
TypeScript
import type { useNavScrollArgs, useNavScrollResult } from './types';
/**
* This is the main hook: use it in a react function component to track
* the state of the passed ids. The function accepts an initial configuration
* of type `useNavScrollArgs` to customize the behaviour.
*/
export declare function useNavScroll(args?: useNavScrollArgs): useNavScrollResult;