From 54e722a55d58f4bab86184ffc970159628fa6967 Mon Sep 17 00:00:00 2001
From: freenandes <42041153+freenandes@users.noreply.github.com>
Date: Wed, 18 Oct 2023 02:43:41 +0000
Subject: [PATCH] docs: Update showcase.md (#540)
---
quartz/components/types.ts | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/quartz/components/types.ts b/quartz/components/types.ts
index b37ccee..fd9574f 100644
--- a/quartz/components/types.ts
+++ b/quartz/components/types.ts
@@ -1,5 +1,5 @@
import { ComponentType, JSX } from "preact"
-import { StaticResources } from "../resources"
+import { StaticResources } from "../util/resources"
import { QuartzPluginData } from "../plugins/vfile"
import { GlobalConfiguration } from "../cfg"
import { Node } from "hast"
@@ -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