material-ui-color icon indicating copy to clipboard operation
material-ui-color copied to clipboard

Add event property to the onChange callback - ColorPicker

Open nikkizol opened this issue 4 years ago • 0 comments

Would be nice to add an event property to the onChange callback - ColorPicker

So we would have something like this:

const handleColorChange = (event: ChangeEvent<HTMLInputElement>, newColor: Color) => { .... };

<ColorPicker onChange={handleColorChange} hideTextfield />

nikkizol avatar Oct 18 '21 10:10 nikkizol