Skip to content

Express Docs v0.1.0


Express Docs / RevolutPayStyle

Interface: RevolutPayStyle

Defined in: src/types.ts:230

Visual style options for the Revolut Pay button.

Properties

action?

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

Defined in: src/types.ts:243

Label action shown on the button face.

Default Value

'pay'


height?

optional height?: string

Defined in: src/types.ts:241

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:234

Border radius of the button.


size?

optional size?: "small" | "large"

Defined in: src/types.ts:236

Size of the button.


variant?

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

Defined in: src/types.ts:232

Color variant of the Revolut Pay button.

CollanaPay SDK Documentation