We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I recommend adding a new renderTooltip parameter that has the value Slider as the first argument. Example:
const formatTime = (time: number) => { const minutes = Math.floor(time / 60); const seconds = Math.floor(time % 60); return `${minutes}:${seconds < 10 ? '0' : ''}${seconds}`; }; ... ... <Slider showToolTip renderTooltip={(value)=> <p>{formatTime(value)}</p>}/>
none
No response
The text was updated successfully, but these errors were encountered:
ENG-1136 [Feature Request] Update Slider Tooltip
Sorry, something went wrong.
would like to work on this feature
Any news/ workarounds? one workaround would be to use :
tooltipProps={{ content: formatTime(stateValue) }}
but it won't work on multiple thumbs
No branches or pull requests
Is your feature request related to a problem? Please describe.
I recommend adding a new renderTooltip parameter that has the value Slider as the first argument.
Example:
Describe the solution you'd like
none
Describe alternatives you've considered
none
Screenshots or Videos
No response
The text was updated successfully, but these errors were encountered: