Aaron Pham
2024-01-07 60017164ad5841e3e88fbdb7d16ccc40577336df
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