Skip to content

Commit 648b54d

Browse files
authored
add QRCode component to hosted buttons (#2351)
1 parent e67ac87 commit 648b54d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/interface/hosted-buttons.js

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
getCardFormComponent,
88
type CardFormComponent,
99
} from "../zoid/card-form";
10+
import { getQRCodeComponent, type QRCodeComponent } from "../zoid/qr-code";
1011
import { getCheckoutComponent, type CheckoutComponent } from "../zoid/checkout";
1112
import type { LazyExport, LazyProtectedExport } from "../types";
1213
import { protectedExport } from "../lib";
@@ -23,6 +24,10 @@ export const CardForm: LazyProtectedExport<CardFormComponent> = {
2324
__get__: () => protectedExport(getCardFormComponent()),
2425
};
2526

27+
export const QRCode: LazyProtectedExport<QRCodeComponent> = {
28+
__get__: () => protectedExport(getQRCodeComponent()),
29+
};
30+
2631
export function setup() {
2732
getButtonsComponent();
2833
getCheckoutComponent();

0 commit comments

Comments
 (0)