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)

17 lines (16 loc) • 729 B
import { IHttpEndpointOperation } from '@stoplight/types'; import * as React from 'react'; import { DocsComponentProps } from '..'; export declare type HttpOperationProps = DocsComponentProps<IHttpEndpointOperation>; export declare const HttpOperation: React.FunctionComponent<HttpOperationProps & import("@stoplight/react-error-boundary").ErrorBoundaryProps<{}>>; export declare function OperationHeader({ id, noHeading, hasBadges, name, isDeprecated, isInternal, hideServerUrl, method, path, }: { id: string; noHeading?: boolean; hasBadges?: boolean; name?: string; isDeprecated?: boolean; isInternal?: boolean; hideServerUrl?: boolean; method: string; path: string; }): JSX.Element | null;