@stoplight/elements-core
Version:
[](https://meta.stoplight.io/docs/elements) [](./LICENSE)
13 lines (12 loc) • 462 B
TypeScript
/// <reference types="react" />
import { IHttpOperationRequestBody } from '@stoplight/types';
export interface BodyProps {
body: IHttpOperationRequestBody;
onChange?: (requestBodyIndex: number) => void;
isHttpWebhookOperation?: boolean;
}
export declare const isBodyEmpty: (body?: BodyProps['body']) => boolean;
export declare const Body: {
({ body, onChange, isHttpWebhookOperation }: BodyProps): JSX.Element | null;
displayName: string;
};