MCPcopy Create free account
hub / github.com/react-dnd/react-dnd / renderGroup

Method renderGroup

site/components/SideBar.js:15–24  ·  view source on GitHub ↗
({ title, pages}, index)

Source from the content-addressed store, hash-verified

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" />;

Callers

nothing calls this directly

Calls 1

renderLinkMethod · 0.95

Tested by

no test coverage detected