@graphiql/plugin-code-exporter
Version:
This package provides a plugin that integrates the [GraphiQL Code Exporter](https://github.com/OneGraph/graphiql-code-exporter) into the GraphiQL UI.
8 lines (7 loc) • 385 B
TypeScript
import { type GraphiQLPlugin } from '@graphiql/react';
import { GraphiQLCodeExporterProps } from 'graphiql-code-exporter';
import './graphiql-code-exporter.d.ts';
import './index.css';
declare type GraphiQLCodeExporterPluginProps = Omit<GraphiQLCodeExporterProps, 'query'>;
export declare function codeExporterPlugin(props: GraphiQLCodeExporterPluginProps): GraphiQLPlugin;
export {};