This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copied from https://github.com/OneGraph/graphiql-explorer (0.4.5) | |
* We fork because we need to support customizable fields and could not wait for | |
* the PR process to finish. Also converted Flow type to TypeScript. | |
*/ | |
import { Tooltip } from 'antd'; | |
import prettier from 'prettier/standalone'; | |
import parserGraphql from 'prettier/parser-graphql'; | |
import React, { Fragment } from 'react'; |