({ title, pages}, index)
| 13 | } |
| 14 | |
| 15 | renderGroup({ title, pages}, index) { |
| 16 | return ( |
| 17 | <div className="SideBar-group" key={index}> |
| 18 | <h4 className="SideBar-groupTitle"> |
| 19 | {title} |
| 20 | </h4> |
| 21 | {Object.keys(pages).map(key => this.renderLink(pages[key], key))} |
| 22 | </div> |
| 23 | ); |
| 24 | } |
| 25 | |
| 26 | renderLink({ title, location }, key) { |
| 27 | const arrow = <span className="arrowBullet" />; |
nothing calls this directly
no test coverage detected