Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monthlyAmount prop in WalletPanel should be type string #291

Closed
ryanml opened this issue Nov 27, 2018 · 0 comments
Closed

monthlyAmount prop in WalletPanel should be type string #291

ryanml opened this issue Nov 27, 2018 · 0 comments
Assignees

Comments

@ryanml
Copy link
Member

@ryanml ryanml commented Nov 27, 2018

Related: brave/brave-core#957

Should be string amount formatted like "5.0"

Current number typing is causing issues, passing in '5' (number) will not match any of the float token values. This is broken at this time and does not work even in storybook.

Per design we will soon need to have a string option in the wallet panel dropdown, such as 'Off'

This is in line with the typing for value on <Select />

@ryanml ryanml self-assigned this Nov 27, 2018
ryanml added a commit to ryanml/brave-ui that referenced this issue Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.