Within the edit function of block.js
var el = wp.element.createElement,
Fragment = wp.element.Fragment,
registerBlockType = wp.blocks.registerBlockType,
InspectorControls = wp.editor.InspectorControls,
RadioControl = wp.components.RadioControl,
ColorPicker = wp.components.ColorPicker;//this this
el('div', {}, 'Menu Background'),
el(ColorPicker, {
type: 'color',
color: menu_bg,
onChangeComplete: function(newValue) {
props.setAttributes({
menu_bg: newValue.hex
});
},
disableAlpha: true
}),