roadmap/quartz/components/types.ts

8 lines
175 B
TypeScript

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