From 4d3579ca9876d3ca6612589d116c3a300a60b446 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 07 Jun 2023 02:48:37 +0000
Subject: [PATCH] darkmode scripts
---
quartz/components/types.ts | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/quartz/components/types.ts b/quartz/components/types.ts
index e1bdebc..96ead5f 100644
--- a/quartz/components/types.ts
+++ b/quartz/components/types.ts
@@ -1,7 +1,6 @@
import { ComponentType } from "preact"
-export type QuartzComponent<Props> = {
- Component: ComponentType<Props>
+export type QuartzComponent<Props> = ComponentType<Props> & {
css?: string,
beforeDOMLoaded?: string,
afterDOMLoaded?: string,
--
Gitblit v1.10.0