Przejdź do głównej zawartości

Interface: PaymentInstrumentTileProps

Properties

className?

optional className?: string

Optional class for the outer button — header styling, layout, border.


iconClassName?

optional iconClassName?: string

Optional class for the brand image (<img> element). Only applied when instrument has brandImage.


instrument

instrument: PaymentInstrumentTileInstrument

Instrument projection — gateway code, label, display hint, enabled state.


labelClassName?

optional labelClassName?: string

Optional class for the label span.


onSelect

onSelect: () => void

Click handler — caller updates selected state external (controlled component).

Returns

void


selected

selected: boolean

True when this tile is currently selected in the parent section. Controls aria-checked + data-selected.