Environment
Mac OS 10:15.3
"react": "16.9.0",
"react-native": "0.61.5",
Description
I observe that I can not do state manipulation in the NavigationDrawerLayout account parameters. I want to use react native state to change the username and image variable found in the NavigationDrawerLayout account parameter. Is this possible with this package?
Demo
<NavigationDrawerLayout
...
account={[
{
username: this.state.name,
name: 'James Bond',
email: 'james.bond.xx@xxx.xxx',
image: this.state.imagePath,
joined: 'Joined ' + this.state.dateJoined,
badgeText: '100',
badgeColor: '#fff',
badgeBackground: '#303030',
circle: ['transparent', 'transparent'],
},
]}
...
>