supMDX-nav/dist/NavBase.d.ts
2023-02-17 04:14:59 +09:00

15 lines
440 B
TypeScript

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;