Skip to content

Commit

Permalink
feat: add the exports to button interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ravishekhar committed Dec 12, 2024
1 parent 0e66e0c commit 52bd4db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/interface/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ import {
getModalComponent,
type ModalComponent,
} from "../zoid/modal/component";
import { getResumeFlowComponent } from "../zoid/resume-flow";

export const Buttons: LazyExport<ButtonsComponent> = {
__get__: () => getButtonsComponent(),
};

export const ResumePixel: LazyExport<ButtonsComponent> = {
__get__: () => getResumeFlowComponent(),
};

export const Checkout: LazyProtectedExport<CheckoutComponent> = {
__get__: () => protectedExport(getCheckoutComponent()),
};
Expand Down Expand Up @@ -93,6 +98,7 @@ export const destroyAll: LazyProtectedExport<typeof destroyComponents> = {
export function setup() {
getButtonsComponent();
getCheckoutComponent();
getResumeFlowComponent();
}

export function destroy(err?: mixed) {
Expand Down

0 comments on commit 52bd4db

Please sign in to comment.