VippsOption

Install

yarn add @ntds/payment-selection

Import

import { PaymentSelection } from '@ntds/payment-selection';

Usage

<PaymentSelection
label='Betalingsmåte'
name='payment-selection'
value={paymentOption}
setValue={setPaymentOption}
>
<PaymentSelection.VippsOption
value='Vipps'
/>
...
</PaymentSelection>

Props

VippsOption

PropType & Description
label
string
Default value: "Vipps"

Visual and/or accessible label

value
string

Value of PaymentOption Examples:

  • Spillerkonto
  • Betalingskort
  • Vipps
  • Nytt kort

This guide is based on version: 2.3.0