UNPKG

@stoplight/elements-core

Version:
23 lines (22 loc) • 700 B
import { IHttpOperationResponse } from '@stoplight/types'; interface DisablePropEntry { location: string; paths: Array<{ path: string; }>; } interface DisablePropsByStatus { [statusCode: string]: DisablePropEntry[]; } interface ResponsesProps { responses: IHttpOperationResponse[]; onMediaTypeChange?: (mediaType: string) => void; onStatusCodeChange?: (statusCode: string) => void; isCompact?: boolean; disableProps?: DisablePropsByStatus; } export declare const Responses: { ({ responses: unsortedResponses, onStatusCodeChange, onMediaTypeChange, isCompact, disableProps, }: ResponsesProps): JSX.Element | null; displayName: string; }; export {};