@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)
12 lines (11 loc) • 449 B
TypeScript
import type { QueryStoreItem } from '@graphiql/toolkit';
import './style.css';
export declare function History(): import("react/jsx-runtime").JSX.Element;
declare type QueryHistoryItemProps = {
item: QueryStoreItem & {
index?: number;
};
};
export declare function HistoryItem(props: QueryHistoryItemProps): import("react/jsx-runtime").JSX.Element;
export declare function formatQuery(query?: string): string | undefined;
export {};