Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<span style="{{">
Your last selection was: <strong>{selected}</strong>
</span>
);
}
}
ReactDOM.render(, document.getElementById("demo-one"));
closeMenu("");
closeMenu("", { focusButton: true });
openMenu("");
openMenu("", { focusMenu: true });
class ObjectMenuItem extends React.Component {
render() {
const itemValue = { name: "Test name", label: "Only item to select" };
return (
console.log(value.name)}>
<li>
<menuitem value="{itemValue}">{itemValue.label}</menuitem>
</li>
);
}
}
ReactDOM.render(, document.body);