@redocly/theme
Version:
Shared UI components lib
9 lines (8 loc) • 338 B
TypeScript
import type { JSX } from 'react';
import type { MdHeading } from '../../core/types';
export type TableOfContentProps = {
headings?: Array<MdHeading | null> | null | undefined;
contentWrapper: HTMLDivElement | null;
className?: string;
};
export declare function TableOfContent(props: TableOfContentProps): JSX.Element | null;