@ranceheart/sticky-elevator
Version:
A lightweight scroll‑spy elevator nav for React
18 lines (16 loc) • 449 B
TypeScript
import { default as React, FC } from 'react';
import { alignType } from '../main';
export type ElevatorProps = {
anchorPoints: string[];
anchorImages: string[];
anchorActiveImages: string[];
number: number;
navbarHeight?: number;
paddingTab?: number;
align: alignType;
width?: string;
zIndex?: number;
className?: string;
style?: React.CSSProperties;
};
export declare const Elevator: FC<ElevatorProps>;