mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-13 08:53:38 +00:00
chore(types): update correct annotations for pages (#928)
This commit is contained in:
parent
2f10da7766
commit
d6e79d1ea6
4 changed files with 8 additions and 8 deletions
quartz/components/pages
|
@ -1,7 +1,7 @@
|
|||
import { htmlToJsx } from "../../util/jsx"
|
||||
import { QuartzComponentConstructor, QuartzComponentProps } from "../types"
|
||||
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "../types"
|
||||
|
||||
function Content({ fileData, tree }: QuartzComponentProps) {
|
||||
const Content: QuartzComponent = ({ fileData, tree }: QuartzComponentProps) => {
|
||||
const content = htmlToJsx(fileData.filePath!, tree)
|
||||
const classes: string[] = fileData.frontmatter?.cssclasses ?? []
|
||||
const classString = ["popover-hint", ...classes].join(" ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue