MCPcopy
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

60export { DropZoneProvider, dropZoneContext } from "./context";
61
62const getRandomColor = () =>
63 `#${Math.floor(Math.random() * 16777215).toString(16)}`;
64
65const RENDER_DEBUG = false;
66

Callers 1

index.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected