supMDX-nav/dist/NavEntry.d.ts

13 lines
344 B
TypeScript
Raw Normal View History

2023-02-16 00:03:53 +09:00
/// <reference types="react" />
export type NavEntryInfo = {
label: string;
2023-02-17 04:29:01 +09:00
path: string;
2023-02-16 00:03:53 +09:00
children?: NavEntryInfo[];
};
2023-02-17 04:29:01 +09:00
export declare function NavEntry<Body>({ entry: { label, path, children }, dir, here, children: childrenJSX, }: {
2023-02-16 00:03:53 +09:00
entry: NavEntryInfo;
dir: string;
here: string;
children?: Body;
}): JSX.Element;