Open softmarshmallow opened 3 years ago
import React from "react"; import { Prism as SyntaxHighlighter } from "react-syntax-highlighter"; import { vscDarkPlus as colorscheme } from "react-syntax-highlighter/dist/cjs/styles/prism"; import Typist from "react-typist"; export function SrcContent({ children, language, }: { language: string; children: React.ReactNode; }) { return ( <SyntaxHighlighter language={language} style={colorscheme}> <Typist>{children}</Typist> </SyntaxHighlighter> ); }
is this error being thrown from within typist? i can't tell from the error stack