Skip to content

Commit

Permalink
typos and other nits
Browse files Browse the repository at this point in the history
  • Loading branch information
AadneRo committed Jun 14, 2024
1 parent 6d023a4 commit 3d3ec75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ The `InputPassword` component has been moved to `Field.Password`, and is now a p

## PaymentCard

The PaymentCard has seen some major refactoring, changing the api for the custom card designs. If you do not use the custom card feature nothing has changed.
The PaymentCard has seen some major refactoring, changing the api for the custom card designs. If you do not use the custom card feature, the only other changes is to prop names (from snake_case to camelCase).

- replace `product_code` with `productCode`.
- replace `card_number` with `cardNumber`.
- replace `card_status` with `cardStatus`.

- remove `raw_data`. If you still need this this functunality take a look at the updated documentation for [PaymentCard](uilib/extensions/payment-card/)
- remove `raw_data`. If you still need this functunality take a look at the updated documentation for [PaymentCard](uilib/extensions/payment-card/)

_February, 6. 2024_
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ It's worth noting that if you don't provide a `productCode` the design will be t
Resources:

- [Figma design](https://www.figma.com/file/461cAN5Qc3Nks4ztZ9pjtM)
- [Figma design (sbanken)](<https://www.figma.com/design/4fgS4rHsGJtU9JxE3DWwFO/Eufemia---Web-(Sbanken)?node-id=21096-10019&t=SxGeJNuxR8Cmo4ze-0>)
- [Confluence specifications](https://confluence.tech.dnb.no/pages/viewpage.action?spaceKey=PMDT&title=Cards+mapping)

0 comments on commit 3d3ec75

Please sign in to comment.