Skip to content

Commit

Permalink
fix: add icon to href variant
Browse files Browse the repository at this point in the history
  • Loading branch information
HellWolf93 committed Oct 31, 2022
1 parent c2bd29b commit 3acf83f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/VerticalItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ function Item(props) {
tabIndex={resolveTabIndex()}
isSelected={isSelected}
>
<RenderIf isTrue={icon}>
<StyledIcon>{icon}</StyledIcon>
</RenderIf>
<ItemContent label={label} notification={notification} />
</StyledAnchor>
</RenderIf>
Expand Down

0 comments on commit 3acf83f

Please sign in to comment.