Jacky Zhao
2023-11-12 74c63e448e28d9766f7ec631aac2645384b0975f
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