@stoplight/elements-core
Version:
[](https://meta.stoplight.io/docs/elements) [](./LICENSE)
11 lines (10 loc) • 378 B
TypeScript
/// <reference types="react" />
import { LogoProps } from '../../types';
import type { TableOfContentsItem } from '../TableOfContents';
export declare const MobileTopNav: ({ name, logo, tree, pathname, onTocClick, }: {
name: string;
logo?: string | LogoProps | undefined;
tree: TableOfContentsItem[];
pathname: string;
onTocClick(): void;
}) => JSX.Element;