-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to access child <Scene> props from parent's tabBarComponent? #3044
Comments
@rayj10 are not you able to access it from |
@daviscabral not from within ScrollableTabBar... besides it would be weird if say Home is not the only child of the scene with ScrollableTabBar wouldn't it? I have changed my structure anyhow because I found a better way of achieving what I wanted to. But just for future reference I would still like to know how can I access the array of children and their props from a component loaded onto parent scene i.e. ScrollableTabBar? I know that usually it's available via
but if I have this:
|
RNRF doesn't give you access to the child components. You may check |
Version
Tell us which versions you are using:
Sorry for the noob question, but if I have the following structure:
How can I access child scene's (in this case the scene with
key='Home'
)props
liketitle
,name
, orkey
from withinScrollableTabBar
?Thanks in advance for the pointers! :)
The text was updated successfully, but these errors were encountered: