I'm designing two navigations which share similar styles and functionality, so I created a Class for them: https://framer.cloud/NaLuh/
I've got two questions regarding this Class:
1) To create a click event for just one of the tabs of a particular instance of Navigation, is it possible to do something like:
Navigation.tab("Tab name").onTap -> // do something
2) If you want to prevent click events for a particular Navigation, how is this done? Something like:
Any help is much appreciated, thanks!
Am I right in thinking that for #2 it's best to create two different methods which contain functionality for click events (one with, and one without) and then call the methods on the instances I create?