@stoplight/elements-core
Version:
[](https://meta.stoplight.io/docs/elements) [](./LICENSE)
17 lines (16 loc) • 729 B
TypeScript
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;