@redocly/graphql-docs
Version:
Redocly GraphQL docs
15 lines (14 loc) • 507 B
TypeScript
import * as React from 'react';
import type { JSX } from 'react';
import type { NextSection } from '../utils';
import type { Item, ItemElement } from './Item';
export interface SectionProps {
name: string;
path: string;
header?: React.ReactNode;
next?: NextSection;
prev?: Item;
children: ItemElement | ItemElement[];
}
export type SectionElement = React.ReactElement<SectionProps>;
export declare function Section({ path, header, prev, next, children }: SectionProps): JSX.Element;