MCPcopy Create free account
hub / github.com/flyfloor/react-component / render

Function render

component/SlideMenu.js:66–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 },
65
66 render() {
67 const {display} = this.state;
68 let {className, children} = this.props;
69 className = klassName(className, 'slide-menu');
70
71 return (
72 <div className={`${className} ${display ? '_display': ''}`}>
73 <div className='_content' ref='contentDOM' style={this.calcPositionStyle()}>
74 {children}
75 </div>
76 <div className="_overlay" onClick={this.close}></div>
77 </div>
78 );
79 }
80});
81
82module.exports = SlideMenu;

Callers

nothing calls this directly

Calls 1

klassNameFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…