wiki/quartz/components/types.ts
2023-06-03 15:07:19 -04:00

8 lines
186 B
TypeScript

import { ComponentType } from "preact"
export type QuartzComponent<Props> = {
Component: ComponentType<Props>
css?: string,
beforeDOMLoaded?: string,
afterDOMLoaded?: string,
}