Skip to content

Commit

Permalink
Add additionalControls back in. It can be removed in a separate PR if…
Browse files Browse the repository at this point in the history
… necessary.
  • Loading branch information
jeryj committed Feb 6, 2024
1 parent 3bbef8a commit 56c1c39
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default function LinkPreview( {
hasRichPreviews = false,
hasUnlinkControl = false,
onRemove,
additionalControls,
} ) {
// Avoid fetching if rich previews are not desired.
const showRichPreviews = hasRichPreviews ? value?.url : null;
Expand Down Expand Up @@ -143,6 +144,7 @@ export default function LinkPreview( {
/>
<ViewerSlot fillProps={ value } />
</div>
{ additionalControls && additionalControls() }
</div>
);
}

0 comments on commit 56c1c39

Please sign in to comment.