Skip to content

Express Docs v0.1.0


Express Docs / RevolutPayStyle

Interface: RevolutPayStyle ​

Defined in: src/types.ts:231

Visual style options for the Revolut Pay button.

Properties ​

action? ​

optional action?: "pay" | "subscribe" | "donate" | "buy"

Defined in: src/types.ts:244

Label action shown on the button face.

Default Value ​

'pay'


height? ​

optional height?: 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? ​

optional radius?: "small" | "large" | "none" | "round"

Defined in: src/types.ts:235

Border radius of the button.


size? ​

optional size?: "small" | "large"

Defined in: src/types.ts:237

Size of the button.


variant? ​

optional variant?: "dark" | "light" | "light-outlined"

Defined in: src/types.ts:233

Color variant of the Revolut Pay button.

collana pay SDK Documentation