Skip to content

Commit 4db2948

Browse files
committed
chore(CardElementLegacy): this tests old integrations without type work
1 parent 6e243a0 commit 4db2948

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/CardElementLegacy.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<template>
22
<StripeElements
33
v-if="stripeLoaded"
4+
v-slot="{ elements }"
45
:stripe-key="stripeKey"
56
:instance-options="instanceOptions"
67
:elements-options="elementsOptions"
78
ref="elms"
89
class="py-3"
910
>
1011
<StripeElement
11-
type="card"
12+
:elements="elements"
1213
:options="cardOptions"
1314
ref="card"
1415
/>

0 commit comments

Comments
 (0)