Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/puckeditor/puck
/ getRandomColor
Function
getRandomColor
packages/core/components/DropZone/index.tsx:62–63 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
export { DropZoneProvider, dropZoneContext } from
"./context"
;
61
62
const getRandomColor = () =>
63
`#${Math.floor(Math.random() * 16777215).toString(16)}`;
64
65
const RENDER_DEBUG = false;
66
Callers
1
index.tsx
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected