Skip to content

Commit 00540d5

Browse files
author
Jim Love
committed
#2074 - Pass ImageProps to Icon in TreeItem
1 parent 6626447 commit 00540d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/treeView/TreeItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export default class TreeItem extends React.Component<ITreeItemProps, ITreeItemS
198198
// Rendering when item has iconProps
199199
item.iconProps &&
200200
<span>
201-
<Icon className={styles.icon} iconName={item.iconProps.iconName} style={item.iconProps.style} theme={this.props.theme} />
201+
<Icon className={styles.icon} iconName={item.iconProps.iconName} style={item.iconProps.style} theme={this.props.theme} imageProps={item.iconProps.imageProps} />
202202
&nbsp;
203203
</span>
204204
}

0 commit comments

Comments
 (0)