mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 14:36:22 +00:00
9 lines
365 B
TypeScript
9 lines
365 B
TypeScript
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
|