@stoplight/elements-core
Version:
[](https://meta.stoplight.io/docs/elements) [](./LICENSE)
14 lines (13 loc) • 494 B
TypeScript
/// <reference types="react" />
import { IHttpOperationResponse } from '@stoplight/types';
interface ResponsesProps {
responses: IHttpOperationResponse[];
onMediaTypeChange?: (mediaType: string) => void;
onStatusCodeChange?: (statusCode: string) => void;
isCompact?: boolean;
}
export declare const Responses: {
({ responses: unsortedResponses, onStatusCodeChange, onMediaTypeChange, isCompact, }: ResponsesProps): JSX.Element | null;
displayName: string;
};
export {};