@autobusal/routes-order 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,13 @@ const Payments = ({ selected, isPartner, t, onChange }: Props): JSX.Element => {
80
80
  { t('routes_order.step5.actions.card') }
81
81
  </ButtonPayment>
82
82
  ) }
83
+
84
+ { (data?.mollie || isPartner) && (
85
+ <ButtonPayment type="button" $selected={ selected === 'mollie' } onClick={ () => onChange('mollie') }>
86
+ <AiOutlineCreditCard />
87
+ { t('routes_order.step5.actions.card') }
88
+ </ButtonPayment>
89
+ ) }
83
90
  </ContainerPayments>
84
91
  </Container>
85
92
  </>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/routes-order",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "main": "index.ts"
6
6
  }
package/types.ts CHANGED
@@ -14,6 +14,7 @@ export interface ActionData {
14
14
  funds: boolean
15
15
  bkt: boolean
16
16
  stripe: boolean
17
+ mollie: boolean
17
18
  }
18
19
 
19
20
  export interface SaveData {