@redocly/graphql-docs
Version:
Redocly GraphQL docs
11 lines (10 loc) • 455 B
TypeScript
import type { Field } from '../../schema/index.js';
import type { GraphQLNamedType, GraphQLField } from 'graphql';
export interface FieldViewProps {
field: Field;
contrast?: boolean;
isArgument?: boolean;
fieldExpandLevel: number;
parentType?: GraphQLNamedType | GraphQLField<any, any>;
}
export declare function FieldView({ field, contrast, fieldExpandLevel, parentType }: FieldViewProps): import("react/jsx-runtime.js").JSX.Element;