wiki/quartz/components/types.ts

8 lines
175 B
TypeScript
Raw Normal View History

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