I have the following:
<MenuItem
primaryText={currentUserProfile.displayName || currentUserProfile.email}
onTouchTap={this.handleTouchTap}
leftIcon={<DropDownArrow color={textColor}/>}
rightIcon={<img src="{currentUserProfile.displayName}" alt="Me" />}
style={{color: textColor}}
/>
The rightIcon is not working as it is already within a {} --- how do I get a variable to work within a {}?
<img src="{currentUserProfile.displayName}" alt="Me" color="#757575" style="height: 24px; width: 24px; display: block; position: absolute; top: 0px; margin: 12px; right: 4px;">