gre / gre/multi-slider

add renderTrackLabel prop to render a label below/inside/above the track

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48
Forks
33
PR merge metrics
No merged PRs in 30d

Description

I imagine the rendering could be above/below or even inside the track itself (the number inside the rectangle). so many possibilities but basically user could do: `renderTrackLabel={({ value, editing, ... }) => editing ? {value} : null}` (x would be set by a parent `` but as you would be probably centered, you would have to offset y by a given amount)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.