Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)
const IconOption = ({iconName, text, value}) => (
)
const { computePosition } = renderers.ContextMenu;
const roundedStyles = {
backgroundColor: 'yellow',
borderRadius: 30,
}
class RoundedContextMenu extends React.Component {
render() {
const { style, children, layouts, ...other } = this.props;
const position = computePosition(layouts);
return (
);
}
}