kobalte
kobalte copied to clipboard
getValueLabel should return JSX.Element
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
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.