Skip to content

Commit 5a4a93c

Browse files
committed
Add quote again
1 parent 39512f3 commit 5a4a93c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/block.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ export const Block: React.FC<Block> = props => {
159159
<div className="notion-spacer" style={{ width: spacerWith }} />
160160
</>
161161
);
162+
case "quote":
163+
if (!blockValue.properties) return null;
164+
return (
165+
<blockquote className="notion-quote">
166+
{renderChildText(blockValue.properties.title)}
167+
</blockquote>
168+
);
162169
case "callout":
163170
return (
164171
<div

0 commit comments

Comments
 (0)