Hi,
I like your segment control, it's really cool! I see it works best for static content but I'm trying to use it to serve dynamic content. I figured, adding an onPress function to it will help me update the selected index and thus be able to change state. I'm new to react so I'm struggling to figure this out. Any ideas on how I can achieve this?