MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / handleChange

Function handleChange

client/src/components/ColorPickerControl.jsx:35–37  ·  view source on GitHub ↗
(nextColor)

Source from the content-addressed store, hash-verified

33 const cssColor = value || serializeColorForPicker(pickerColor, "smart", fallbackColor);
34
35 const handleChange = (nextColor) => {
36 onChange(serializeColorForPicker(nextColor, valueFormat, fallbackColor), nextColor);
37 };
38
39 const triggerContent = renderTrigger
40 ? renderTrigger({ color: cssColor })

Callers

nothing calls this directly

Calls 1

serializeColorForPickerFunction · 0.90

Tested by

no test coverage detected