Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
Fixes #886
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdriscoll committed Jun 20, 2019
1 parent 48e7ce2 commit f5dacb5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,12 @@ export default class UdNavigation extends React.Component {
else
{
var children = item.children.map(x => this.renderSideNavItem(x));

var icon = item.icon;
var header = [icon && <UdIcon icon={icon} style={{width: '30px', marginTop: '15px'}}/>, item.text]

return <li><Collapsible accordion>
<CollapsibleItem header={item.text} style={{color: 'black', paddingLeft: '15px'}} id={item.id}>
<CollapsibleItem header={header} style={{color: 'black', paddingLeft: '15px'}} id={item.id}>
<ul>
{children}
</ul>
Expand Down

0 comments on commit f5dacb5

Please sign in to comment.