Skip to content

Commit

Permalink
Add link customization HTML params for Capital application and promo …
Browse files Browse the repository at this point in the history
…components (#164)
  • Loading branch information
bv-stripe authored Oct 1, 2024
1 parent efeadca commit 8de9009
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,11 @@ export const ConnectElementCustomMethodConfig = {
): void => {}
},
"capital-financing-application": {
setOnApplicationSubmitted: (_listener: (() => void) | undefined): void => {}
setOnApplicationSubmitted: (
_listener: (() => void) | undefined
): void => {},
setPrivacyPolicyUrl: (_privacyPolicyUrl: string | undefined): void => {},
setHowCapitalWorksUrl: (_howCapitalWorksUrl: string | undefined): void => {}
},
"capital-financing-promotion": {
setLayout: (_layout: FinancingPromotionLayoutType | undefined): void => {},
Expand All @@ -184,6 +188,13 @@ export const ConnectElementCustomMethodConfig = {
): void => {},
setOnEligibleFinancingOfferLoaded: (
_listener: (({ productType }: FinancingProductType) => void) | undefined
): void => {},
setPrivacyPolicyUrl: (_privacyPolicyUrl: string | undefined): void => {},
setHowCapitalWorksUrl: (
_howCapitalWorksUrl: string | undefined
): void => {},
setEligibilityCriteriaUrl: (
_eligibilityCriteriaUrl: string | undefined
): void => {}
}
};

0 comments on commit 8de9009

Please sign in to comment.