@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)
10 lines (9 loc) • 304 B
TypeScript
import type { Token } from 'codemirror';
declare type ImagePreviewProps = {
token: Token;
};
export declare function ImagePreview(props: ImagePreviewProps): import("react/jsx-runtime").JSX.Element;
export declare namespace ImagePreview {
var shouldRender: (token: Token) => boolean;
}
export {};