Appearance
Express Docs / RevolutPayStyle
Interface: RevolutPayStyle
Defined in: src/types.ts:231
Visual style options for the Revolut Pay button.
Properties
action?
optionalaction?:"pay"|"subscribe"|"donate"|"buy"
Defined in: src/types.ts:244
Label action shown on the button face.
Default Value
'pay'
height?
optionalheight?:string
Defined in: src/types.ts:242
Height of the button as a CSS value (e.g. '40px', '3rem'). When omitted the Revolut SDK uses its default height.
radius?
optionalradius?:"small"|"large"|"none"|"round"
Defined in: src/types.ts:235
Border radius of the button.
size?
optionalsize?:"small"|"large"
Defined in: src/types.ts:237
Size of the button.
variant?
optionalvariant?:"dark"|"light"|"light-outlined"
Defined in: src/types.ts:233
Color variant of the Revolut Pay button.
