Reputation: 777
I'm trying to display tooltip on react-native-slider
. In google I found lots of libraries but those are supported to react
only. Any help is appriciated. Thank you.
Upvotes: 0
Views: 1728
Reputation: 22189
Since you're using react-native-slider
, have a look at this Pull Request, that implements the use of Thumb in the slider.
The usage is simple as you pass your own React Component to it.
<Slider createThumbMiddleware={view=>(
<View style={styles.legendContainer}>
<Text style={styles.title}>{answer}</Text>
{view}
</View>
)} {...// Other Props}/>
Therefore you can make your own tooltip component and use it here easily
Upvotes: 1