UNPKG

react-styleguidist

Version:
21 lines (20 loc) 479 B
import { Component } from 'react'; import * as Rsg from '../../../typings'; interface TableOfContentsProps { sections: Rsg.Section[]; useRouterLinks?: boolean; tocMode?: string; loc?: { hash: string; pathname: string; }; } export default class TableOfContents extends Component<TableOfContentsProps> { state: { searchTerm: string; }; private renderLevel; private renderSections; render(): JSX.Element; } export {};