MCPcopy Create free account
hub / github.com/CloudOrc/SolidUI / renderColorPicker

Function renderColorPicker

solidui-web/src/components/InputColor/InputColor.tsx:66–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 function renderColorPicker() {
67 if (!displayColorPicker) return undefined;
68 return (
69 <div className="popover">
70 <div
71 className="cover"
72 onClick={handleCloseColorPicker}
73 onKeyPress={handleCloseColorPicker}
74 role="button"
75 tabIndex={0}
76 />
77 <ColorPicker color={stateValue} onChange={handleColorChange} />
78 </div>
79 );
80 }
81
82 const _style: React.CSSProperties = {
83 display: "flex",

Callers 1

InputColorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected