Skip to content

Commit

Permalink
feat: expose text to default slot
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Aug 28, 2024
1 parent 24e6464 commit 0fbd7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PrismicLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export const PrismicLinkImpl = /*#__PURE__*/ defineComponent({
const computedSlots = getSlots(
parent,
slots,
reactive({ href: href.value }),
reactive({ href: href.value, text: text.value }),
text.value,
);

Expand Down

0 comments on commit 0fbd7b4

Please sign in to comment.