import Giscus from "@giscus/react"; import useTheme from "../../hooks/useTheme"; import { styled, theme } from "../../lib/styles/stitches.config"; import config from "../../lib/config"; import type { ComponentPropsWithoutRef } from "react"; import type { GiscusProps } from "@giscus/react"; const Wrapper = styled("div", { marginTop: "2em", paddingTop: "2em", borderTop: `2px solid ${theme.colors.light}`, minHeight: "360px", }); export type CommentsProps = ComponentPropsWithoutRef & { title: string; }; const Comments = ({ title, ...rest }: CommentsProps) => { const { activeTheme } = useTheme(); // TODO: use custom `` spinner component during suspense return ( ); }; export default Comments;