UNPKG

@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)

11 lines (10 loc) 312 B
import { DirectiveNode } from 'graphql'; import './directive.css'; declare type DirectiveProps = { /** * The directive that should be rendered. */ directive: DirectiveNode; }; export declare function Directive({ directive }: DirectiveProps): import("react/jsx-runtime").JSX.Element; export {};