@stoplight/elements-core
Version:
20 lines (19 loc) • 842 B
TypeScript
import { IHttpEndpointOperation } from '@stoplight/types';
import { DocsComponentProps } from '..';
export declare type HttpOperationProps = DocsComponentProps<IHttpEndpointOperation> & {
disableProps?: Record<string, any>;
};
export declare const HttpOperation: import("react").FunctionComponent<DocsComponentProps<IHttpEndpointOperation<false>> & {
disableProps?: Record<string, any> | undefined;
} & 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;