From f6299da1823b51917792905ca71257e55f706ed6 Mon Sep 17 00:00:00 2001
From: Matthew Bailin <matthewdbailin@gmail.com>
Date: Wed, 17 Jan 2024 17:32:02 +0000
Subject: [PATCH] feat: add ofm option to transform `<img>` tags with video exts into `<video>` (closes #463) (#664)

---
 quartz/components/Spacer.tsx |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/quartz/components/Spacer.tsx b/quartz/components/Spacer.tsx
index 02b1093..8359111 100644
--- a/quartz/components/Spacer.tsx
+++ b/quartz/components/Spacer.tsx
@@ -1,3 +1,7 @@
-export default function() {
-  return <div class="spacer"></div>
+import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
+
+function Spacer({ displayClass }: QuartzComponentProps) {
+  return <div class={`spacer ${displayClass ?? ""}`}></div>
 }
+
+export default (() => Spacer) satisfies QuartzComponentConstructor

--
Gitblit v1.10.0