VippsOption
Install
yarn add @ntds/payment-selectionImport
import { PaymentSelection } from '@ntds/payment-selection';Usage
<PaymentSelection
label='Betalingsmåte'
name='payment-selection'
value={paymentOption}
setValue={setPaymentOption}
>
<PaymentSelection.VippsOption
value='Vipps'
/>
...
</PaymentSelection>Props
| Prop | Type | Default | Description |
|---|---|---|---|
label? | string | Vipps | Visual and/or accessible label |
value | string | — | Value of PaymentOption Examples: - Spillerkonto - Betalingskort - Vipps - Nytt kort |