Skip to content

Commit 5ed833c

Browse files
committed
Add disclaimer slot to Checkout component
Introduced a new slot named "disclaimer" in the Checkout component to allow for additional user-defined content. Updated relevant files to demonstrate the usage of this new slot, enabling a flexible and modular design. This enhancement allows for the inclusion of important notices or legal disclaimers in the checkout process.
1 parent af1ec10 commit 5ed833c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

example/Checkout.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ const payload = toUtf8Bytes('tier-1')
2525
uiMode="embed"
2626
{...props}
2727
>
28-
<div class="opacity-50" slot="checkout:disclaimer">We strictly prohibit any unauthorized reproduction, reprinting, reuse, or modification of any part or all of the content (images, text, etc.) published on this site</div>
28+
<div class="opacity-50" slot="checkout:disclaimer">
29+
We strictly prohibit any unauthorized reproduction, reprinting, reuse, or
30+
modification of any part or all of the content (images, text, etc.)
31+
published on this site
32+
</div>
2933
</Checkout_>
3034
</div>
3135

0 commit comments

Comments
 (0)