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)

14 lines (13 loc) • 494 B
/// <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 {};