From e21f0f9bb97cbc4bd59f6bce0e0fce451b6d2b01 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 09 Aug 2023 04:28:09 +0000
Subject: [PATCH] change reading time to content meta
---
quartz/components/types.ts | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/quartz/components/types.ts b/quartz/components/types.ts
index b37ccee..803ada9 100644
--- a/quartz/components/types.ts
+++ b/quartz/components/types.ts
@@ -11,15 +11,17 @@
children: (QuartzComponent | JSX.Element)[]
tree: Node<QuartzPluginData>
allFiles: QuartzPluginData[]
- displayClass?: 'mobile-only' | 'desktop-only'
+ displayClass?: "mobile-only" | "desktop-only"
} & JSX.IntrinsicAttributes & {
- [key: string]: any
-}
+ [key: string]: any
+ }
export type QuartzComponent = ComponentType<QuartzComponentProps> & {
- css?: string,
- beforeDOMLoaded?: string,
- afterDOMLoaded?: string,
+ css?: string
+ beforeDOMLoaded?: string
+ afterDOMLoaded?: string
}
-export type QuartzComponentConstructor<Options extends object | undefined = undefined> = (opts: Options) => QuartzComponent
+export type QuartzComponentConstructor<Options extends object | undefined = undefined> = (
+ opts: Options,
+) => QuartzComponent
--
Gitblit v1.10.0