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

getValueLabel should return JSX.Element #443

Open
masylum opened this issue Jul 15, 2024 · 1 comment
Open

getValueLabel should return JSX.Element #443

masylum opened this issue Jul 15, 2024 · 1 comment

Comments

@masylum
Copy link

masylum commented Jul 15, 2024

Is your feature request related to a problem? Please describe.
Otherwise, we need to type it "as string".

Describe the solution you'd like
I want to show "$X/month" in a nice way, so I need JSX.

Describe alternatives you've considered
I'm currently working around it with "as string"

Additional context
nop

@jer3m01
Copy link
Member

jer3m01 commented Sep 2, 2024

getValueLabel should always be a string in a human readable format, it is used for accessibility.
Will add a separate option for the display label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In Progress
Development

No branches or pull requests

2 participants