Jacky Zhao
2023-12-28 504b44716240bb3fb9a077a1acaa3dc1059e2c1e
1
2
3
4
5
6
7
8
9
import { htmlToJsx } from "../../util/jsx"
import { QuartzComponentConstructor, QuartzComponentProps } from "../types"
 
function Content({ fileData, tree }: QuartzComponentProps) {
  const content = htmlToJsx(fileData.filePath!, tree)
  return <article class="popover-hint">{content}</article>
}
 
export default (() => Content) satisfies QuartzComponentConstructor