@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)
122 lines (117 loc) • 2.53 kB
text/typescript
'use no memo';
import './style/root.css';
export {
EditorContext,
EditorContextProvider,
HeaderEditor,
ImagePreview,
QueryEditor,
ResponseEditor,
useAutoCompleteLeafs,
useCopyQuery,
useEditorContext,
useHeaderEditor,
useMergeQuery,
usePrettifyEditors,
useQueryEditor,
useResponseEditor,
useVariableEditor,
useEditorState,
useOperationsEditorState,
useOptimisticState,
useVariablesEditorState,
useHeadersEditorState,
VariableEditor,
} from './editor';
export {
ExecutionContext,
ExecutionContextProvider,
useExecutionContext,
} from './execution';
export {
Argument,
DefaultValue,
DeprecationReason,
Directive,
DocExplorer,
ExplorerContext,
ExplorerContextProvider,
ExplorerSection,
FieldDocumentation,
FieldLink,
SchemaDocumentation,
Search,
TypeDocumentation,
TypeLink,
useExplorerContext,
} from './explorer';
export {
History,
HistoryContext,
HistoryContextProvider,
useHistoryContext,
} from './history';
export {
DOC_EXPLORER_PLUGIN,
HISTORY_PLUGIN,
PluginContext,
PluginContextProvider,
usePluginContext,
} from './plugin';
export { GraphiQLProvider } from './provider';
export {
SchemaContext,
SchemaContextProvider,
useSchemaContext,
} from './schema';
export {
StorageContext,
StorageContextProvider,
useStorageContext,
} from './storage';
export { useTheme } from './theme';
export { useDragResize } from './utility/resize';
export { isMacOs } from './utility/is-macos';
export * from './icons';
export * from './ui';
export * from './toolbar';
export type {
CommonEditorProps,
EditorContextProviderProps,
EditorContextType,
KeyMap,
ResponseTooltipType,
TabsState,
UseHeaderEditorArgs,
UseQueryEditorArgs,
UseResponseEditorArgs,
UseVariableEditorArgs,
WriteableEditorProps,
} from './editor';
export type {
ExecutionContextProviderProps,
ExecutionContextType,
} from './execution';
export type {
ExplorerContextProviderProps,
ExplorerContextType,
ExplorerFieldDef,
ExplorerNavStack,
ExplorerNavStackItem,
} from './explorer';
export type {
HistoryContextProviderProps,
HistoryContextType,
} from './history';
export type {
GraphiQLPlugin,
PluginContextType,
PluginContextProviderProps,
} from './plugin';
export type { GraphiQLProviderProps } from './provider';
export type { SchemaContextProviderProps, SchemaContextType } from './schema';
export type {
StorageContextProviderProps,
StorageContextType,
} from './storage';
export type { Theme } from './theme';