Open
Description
Hello. I'm trying to add a component in the right corner, but it doesn't appear in the first route, only in the other routes. Here's a sample of my code:
class App extends Component {
const firstRoute = {
name: "My app",
component: MainPage
}
render() {
return (
<Router
firstRoute={firstRoute}
rightCorner={Button}
/>
)
}
}
class Button extends Component {
render() {
return (
<Image
source={require('./images/button.png')}
style={{width: 30, height: 30}}
/>
)
}
}
Metadata
Metadata
Assignees
Labels
No labels