@graphiql/react
Version:
[Changelog](https://github.com/graphql/graphiql/blob/main/packages/graphiql-react/CHANGELOG.md) | [API Docs](https://graphiql-test.netlify.app/typedoc/modules/graphiql_react.html) | [NPM](https://www.npmjs.com/package/@graphiql/react)
12 lines (11 loc) • 388 B
TypeScript
import { FC } from 'react';
import { EditorProps } from '../types';
interface RequestHeadersEditorProps extends EditorProps {
/**
* Invoked when the contents of the request headers editor change.
* @param value - The new contents of the editor.
*/
onEdit?(value: string): void;
}
export declare const RequestHeadersEditor: FC<RequestHeadersEditorProps>;
export {};