From ef12d518149602ad511c1134182fd63d379c1d01 Mon Sep 17 00:00:00 2001
From: Gregory Schier
Date: Thu, 28 Sep 2023 14:47:23 -0700
Subject: [PATCH] Support quote blocks (#41)
---
components/RenderBlock.tsx | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/components/RenderBlock.tsx b/components/RenderBlock.tsx
index 1375dd8..795097a 100644
--- a/components/RenderBlock.tsx
+++ b/components/RenderBlock.tsx
@@ -37,6 +37,15 @@ export const RenderBlock: React.FC = ({ block }) => {
)
}
+ // @ts-ignore: Current client version does not support `quote` but API does
+ case "quote": {
+ // const { source, caption } = getMediaProperties(value)
+ return (
+
+
+
+ )
+ }
case "heading_1":
case "heading_2":
case "heading_3": {