Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/negomi/react-burger-menu
/ close
Function
close
lib/menuFactory.js:202–208 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
200
}
201
202
function
close() {
203
if
(typeof props.onClose ===
'function'
) {
204
props.onClose();
205
}
else
{
206
toggleMenu();
207
}
208
}
209
210
function
getStyle(style, index) {
211
var
_props = props;
Callers
2
onKeyDownOpen
Function · 0.70
handleOverlayClick
Function · 0.70
Calls
1
toggleMenu
Function · 0.70
Tested by
no test coverage detected