Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var MenuLink = _react2.default.forwardRef(function (_ref14, _ref15) {
var onKeyDown = _ref14.onKeyDown,
onClick = _ref14.onClick,
_ref14$component = _ref14.component,
Comp = _ref14$component === undefined ? _router.Link : _ref14$component,
style = _ref14.style,
setState = _ref14.setState,
state = _ref14.state,
index = _ref14.index,
_ref = _ref14._ref,
props = _objectWithoutProperties(_ref14, ["onKeyDown", "onClick", "component", "style", "setState", "state", "index", "_ref"]);
return _react2.default.createElement(
MenuItem,
{
role: "none",
state: state,
setState: setState,
index: index,
onSelect: k,
_ref: k