We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26f84d3 commit 51d2c02Copy full SHA for 51d2c02
example/pages/index.tsx
@@ -7,7 +7,6 @@ const {
7
8
const Home = () => (
9
<div
10
- className="notion"
11
style={{
12
maxWidth: 708,
13
margin: "0 auto",
src/block.tsx
@@ -55,7 +55,7 @@ export const Block: React.FC<Block> = props => {
55
const blockValue = block?.value;
56
switch (blockValue.type) {
57
case "page":
58
- return <>{children}</>;
+ return <div className="notion">{children}</div>;
59
case "header":
60
if (!blockValue.properties) return null;
61
return (
0 commit comments