Jacky Zhao
2024-01-22 2c8d0f8ab60cbf2e5e5338709e63267d466fb068
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