Category
[x] Enhancement
Version
Please specify what version of the library you are using: 3.23.0
Expected / Desired Behavior / Question
When rendering a TreeItem, and you pass in iconProps - it would be very useful to us to also use the imageProps prop of IIconProps to the underlying <Icon /> component that is rendered.
Observed Behavior
Currently, the <Icon /> component created when iconProps is specified does not pass through the imageProps.
|
<Icon className={styles.icon} iconName={item.iconProps.iconName} style={item.iconProps.style} theme={this.props.theme} /> |
I'm currently prepping a PR for this.