From 4e23e6724493a8d112c6ff22e14cf4aabd5e9af1 Mon Sep 17 00:00:00 2001
From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
Date: Mon, 11 Sep 2023 06:11:42 +0000
Subject: [PATCH] feat: plugin for remark-breaks (#467)
---
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