Skip to content

Commit dfa947e

Browse files
authored
Merge pull request NotionX#387 from NotionX/card-to-property-link
forgot to add isLinkCollectionToUrlProperty to the renderer props
2 parents 479e7c1 + 2256ea7 commit dfa947e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/react-notion-x/src/renderer.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const NotionRenderer: React.FC<{
3333
forceCustomImages?: boolean
3434
showCollectionViewDropdown?: boolean
3535
linkTableTitleProperties?: boolean
36+
isLinkCollectionToUrlProperty?: boolean
3637
isImageZoomable?: boolean
3738

3839
showTableOfContents?: boolean
@@ -72,6 +73,7 @@ export const NotionRenderer: React.FC<{
7273
forceCustomImages,
7374
showCollectionViewDropdown,
7475
linkTableTitleProperties,
76+
isLinkCollectionToUrlProperty,
7577
isImageZoomable = true,
7678
showTableOfContents,
7779
minTableOfContentsItems,
@@ -108,6 +110,7 @@ export const NotionRenderer: React.FC<{
108110
forceCustomImages={forceCustomImages}
109111
showCollectionViewDropdown={showCollectionViewDropdown}
110112
linkTableTitleProperties={linkTableTitleProperties}
113+
isLinkCollectionToUrlProperty={isLinkCollectionToUrlProperty}
111114
showTableOfContents={showTableOfContents}
112115
minTableOfContentsItems={minTableOfContentsItems}
113116
defaultPageIcon={defaultPageIcon}

0 commit comments

Comments
 (0)