@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) • 368 B
TypeScript
import { FC } from 'react';
import { EditorProps } from '../types';
interface VariablesEditorProps extends EditorProps {
/**
* Invoked when the contents of the variables' editor change.
* @param value - The new contents of the editor.
*/
onEdit?(value: string): void;
}
export declare const VariablesEditor: FC<VariablesEditorProps>;
export {};