Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Create <LiskAmount val={val} /> React component #501

Closed
slaweet opened this issue Jul 21, 2017 · 0 comments
Closed

Create <LiskAmount val={val} /> React component #501

slaweet opened this issue Jul 21, 2017 · 0 comments
Assignees

Comments

@slaweet
Copy link
Contributor

slaweet commented Jul 21, 2017

normalize(num) should not be in <FormattedNumber /> component
Because of it <FormattedNumber /> cannot be used to format "Block height" in "Forged blocks", which is a number, but not LSK value.
We need component <LiskAmount val={val} /> that will render something like LiskAmount = props => (<FormattedNumber val({normalize(props.val)}/> LSK).

@slaweet slaweet self-assigned this Jul 21, 2017
slaweet added a commit that referenced this issue Jul 21, 2017
Create <LiskAmount val={val} /> React component - Closes #501
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant