supMDX-nav/dist/NavBase.d.ts

16 lines
440 B
TypeScript
Raw Normal View History

2023-02-16 00:03:53 +09:00
import React from 'react';
import { NavEntryInfo } from './NavEntry';
export type HeadingInfo = {
tagName: string;
label: string;
id: string;
};
export type NavBaseProps = {
children?: React.ReactNode;
headings: HeadingInfo[];
pathname: string;
entries: NavEntryInfo[];
className?: string;
};
export declare function NavBase({ children, headings, pathname, entries, className, }: NavBaseProps): JSX.Element;