I been trying to make a proper RNN V2 tree, but it's just doesn't make sense to me... given this example:
root: {
bottomTabs: {
children: [
{
component: {
name: 'Main',
options: {
bottomTab: {
text: 'Main',
},
},
},
},
{
component: {
name: 'Secondary',
options: {
bottomTab: {
text: 'Secondary',
},
},
},
},
],
},
},
}
So let's say I want to tell the Navigator to use red colour to the active bottom tab. If I want to achieve this then I need to add selectedTextColor to EACH COMPONENT
...component: {
...
options: {
...
selectedTextColor: 'red'
}
}
Same with the bottomTabs visible, hide etc... How can I set it once in the parent, and let the children inherit these options?