Skip to content

Commit 5cb32ae

Browse files
committed
feat: add cover component with image and video support for Notion blocks
1 parent 5de03d9 commit 5cb32ae

File tree

1 file changed

+1
-1
lines changed
  • packages/notion-to-jsx/src/components/Cover

1 file changed

+1
-1
lines changed

packages/notion-to-jsx/src/components/Cover/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const Cover = ({ src, alt }: Props) => {
1717
return (
1818
<div className={coverContainer}>
1919
<div className={skeletonWrapper({ isLoaded })}>
20-
<Skeleton variant="image" />
20+
<Skeleton variant="image" isLoading={!isLoaded} />
2121
</div>
2222
<img
2323
src={src}

0 commit comments

Comments
 (0)