Skip to content

Can State Manipulation happen in NavigationDrawerLayout account parameters? #7

@Seunope

Description

@Seunope

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'],
},
]}
...
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions