UNPKG

graphiql

Version:
28 lines (27 loc) 751 B
import { jsxs, jsx } from "react/jsx-runtime"; import { c } from "react-compiler-runtime"; const defaultGraphiqlLogo = /* @__PURE__ */ jsxs("a", { className: "graphiql-logo-link", href: "https://github.com/graphql/graphiql", target: "_blank", rel: "noreferrer", children: [ "Graph", /* @__PURE__ */ jsx("em", { children: "i" }), "QL" ] }); const GraphiQLLogo = (t0) => { const $ = c(2); const { children: t1 } = t0; const children = t1 === void 0 ? defaultGraphiqlLogo : t1; let t2; if ($[0] !== children) { t2 = /* @__PURE__ */ jsx("div", { className: "graphiql-logo", children }); $[0] = children; $[1] = t2; } else { t2 = $[1]; } return t2; }; export { GraphiQLLogo }; //# sourceMappingURL=logo.js.map