// Type definitions for react-scrollspy 3.3 // Project: https://github.com/makotot/react-scrollspy // Definitions by: Zhang Yi Jiang // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import * as React from 'react'; export interface ScrollspyProps { // Array of target element IDs items: ReadonlyArray; // Class name that apply to the navigation element paired with the content element in viewport currentClassName: string; // Class name that apply to the navigation elements that have been scrolled past scrolledPastClassName?: string; // HTML tag for Scrollspy component if you want to use other than ul componentTag?: string | React.ComponentType; // Style attribute to be passed to the generated