Skip to content

Commit

Permalink
Add style option to card gateway banner (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbents authored Aug 22, 2023
1 parent 559499c commit 6fed00c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ import {
- [Plugins](https://developer.revolut.com/docs/accept-payments/#plugins)

---
© 2020 Revolut Ltd
© 2023 Revolut Ltd
4 changes: 4 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,10 @@ export interface UpsellModuleCardGatewayBannerInstance {

export interface WidgetUpsellCardGatewayBannerOptions {
orderToken: string
style?: {
border?: string
borderRadius?: string
}
}

export interface UpsellModulePromotionalBannerInstance {
Expand Down

0 comments on commit 6fed00c

Please sign in to comment.