I would like to know how to pass a state from my main page to the Tabs? Currently I\'m using navigate to transfer props from one page to another page but from Tabs it seems I ca
Simply Pass the state as props like this:
from there you can access it at your SampleComponent as props ;)
inside SampleComponent you can try logging it:
//this is the state from your mainPage const {sampleProps} = this.props; console.log(sampleProps);
that should do it