UNPKG

@redocly/graphql-docs

Version:

Redocly GraphQL docs

17 lines (16 loc) 499 B
import React from 'react'; import type { JSX } from 'react'; import type { ReferenceDocsLocation } from '../../settings'; export interface Item { name: string; location: ReferenceDocsLocation; } export interface ItemProps { name: string; path: string; prev?: Item; next?: Item; children?: React.ReactNode | React.ReactNode[]; } export type ItemElement = React.ReactElement<ItemProps>; export declare function Item({ path, prev, next, children }: ItemProps): JSX.Element;