UNPKG

@redocly/graphql-docs

Version:

Redocly GraphQL docs

13 lines (12 loc) 667 B
import type { ReactElement } from 'react'; import type { GraphQLNamedType, GraphQLEnumValue, GraphQLField } from 'graphql'; import { Field } from '../../schema/index.js'; interface RequiresScopesButtonProps { type?: GraphQLNamedType | GraphQLEnumValue | GraphQLField<any, any>; field?: Field | GraphQLEnumValue; parentType?: GraphQLNamedType | GraphQLField<any, any>; isItem?: boolean; } declare function RequiresScopesButtonComponent({ type, field, parentType, isItem, }: RequiresScopesButtonProps): ReactElement | null; export declare const RequiresScopesButton: import("react").MemoExoticComponent<typeof RequiresScopesButtonComponent>; export {};