polen
Version:
A framework for delightful GraphQL developer portals
8 lines • 382 B
TypeScript
import type { GraphQLSchema } from 'graphql';
import React from 'react';
export declare const GraphQLSchemaContext: React.Context<GraphQLSchema | null>;
export declare const useGraphQLSchema: () => GraphQLSchema | null;
export declare const GraphQLSchemaProvider: React.FC<React.PropsWithChildren<{
schema: GraphQLSchema | null;
}>>;
//# sourceMappingURL=schema-context.d.ts.map