MCPcopy
hub / github.com/hello-pangea/dnd / getDraggableEntry

Function getDraggableEntry

test/util/registry.ts:38–48  ·  view source on GitHub ↗
({
  uniqueId = getUniqueId(),
  dimension,
}: DraggableArgs)

Source from the content-addressed store, hash-verified

36})();
37
38export function getDraggableEntry({
39 uniqueId = getUniqueId(),
40 dimension,
41}: DraggableArgs): DraggableEntry {
42 return {
43 uniqueId,
44 descriptor: dimension.descriptor,
45 options: defaultOptions,
46 getDimension: () => dimension,
47 };
48}
49
50export const getDroppableCallbacks = (
51 dimension: DroppableDimension,

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…