UNPKG

@stoplight/elements-core

Version:

[![docs](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://meta.stoplight.io/docs/elements) [![license](https://img.shields.io/npm/l/@stoplight/elements?style=flat-square)](./LICENSE)

11 lines (10 loc) • 378 B
/// <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;