Skip to content

Commit

Permalink
Make callbackFunc optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekta34 committed Oct 2, 2024
1 parent 0534de1 commit 3632492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface ICreateIframeOptions {
environment?: EnvironmentType;
title?: string;
style?: { [key: string]: string }; // Optional inline style object
callbackFunc: (data: CallbackData) => void;
callbackFunc?: (data: CallbackData) => void;
}

export default function createIframe(
Expand Down

0 comments on commit 3632492

Please sign in to comment.