// import block import React from 'react'; import { Popover } from '@mui/material'; import { BlockPicker } from 'react-color'; // dashup ui color const DashupUIColor = (props = {}) => { // return jsx return ( props.onClose(false) } anchorEl={ props.target?.current || props.target } anchorOrigin={ { vertical : 'bottom', horizontal : 'left', } } > props.onChange({ hex : color.hex, hsl : color.hsl, drk : color.hsl.l < .4, }) } /> ); }; // export default export default DashupUIColor;