UNPKG

@theguild/components

Version:
15 lines (14 loc) 427 B
"use client"; import { Fragment, jsx, jsxs } from "react/jsx-runtime"; import { useTheme } from "nextra-theme-docs"; import { default as _Giscus } from "@giscus/react"; const Giscus = (props) => { const { resolvedTheme } = useTheme(); return /* @__PURE__ */ jsxs(Fragment, { children: [ /* @__PURE__ */ jsx("br", {}), /* @__PURE__ */ jsx(_Giscus, { theme: resolvedTheme, ...props }) ] }); }; export { Giscus };