Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Update Money component to use individual props #116

Closed
wants to merge 1 commit into from

Conversation

frehner
Copy link
Contributor

@frehner frehner commented Jan 10, 2023

See the changelog for more information.


Due to this change, the following components have had their props changed:

- `<Money data={moneyV2}/>` is now `<Money amount={moneyV2.amount} currencyCode={moneyV2.currencyCode}/>`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

V2 was removed recently (I believe in 2022-10), right? Will we be updating this library to reflect that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PriceV2 has been deprecated (but still exists).

MoneyV2 hasn't had that happen to it yet, as far as the GraphQL signature goes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@frehner
Copy link
Contributor Author

frehner commented Jan 17, 2023

Holding off on this for now. I'll just close the PR

@frehner frehner closed this Jan 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants