wiki/quartz/components/types.ts

9 lines
186 B
TypeScript
Raw Normal View History

2023-06-03 19:07:19 +00:00
import { ComponentType } from "preact"
export type QuartzComponent<Props> = {
Component: ComponentType<Props>
css?: string,
beforeDOMLoaded?: string,
afterDOMLoaded?: string,
}