I'm submitting a ... (check one with "x")
Current behavior:
The TopNavigation component does not display its leftControl component.
Expected behavior:
To display it. Display the associated icon.
Steps to reproduce:
function createIcon(name) {
return props => <Icon {...props} name={name} />
}
<TopNavigation
leftControl={props => <TopNavigationAction {...props} icon={createIcon('arrow-back-outline')} />}
title={currentDirectory}
/>
md5-60070863ed031d1f0169a76415193631
On iOS 13 simulator and react-native-web
MY BAD !
--> leftControl accepts a node not a component

New bug: On Android the leftControl does not display. On the picture: iOS, Android, web.
Can you share the full code, please?
@dherault you can find the runnable example of TopNavigation with actions (and related code) in our docs. Make sure to follow the api standards. Just tried this on each platform and could not reproduce your issue
A rebuild did the trick, still by looking at the picture I cannot help but think there is a bug somewhere. Must be emulator or server-related.
I love your lib 鉂わ笍
Most helpful comment
A rebuild did the trick, still by looking at the picture I cannot help but think there is a bug somewhere. Must be emulator or server-related.
I love your lib 鉂わ笍