Jacky Zhao
2023-11-04 101e9946bddd053a42d269e19e35feae46fe4305
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