MCPcopy Create free account
hub / github.com/GrapesJS/react / BlocksEventProps

Interface BlocksEventProps

packages/grapesjs-react/src/BlocksProvider.tsx:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42export interface BlocksEventProps {
43 blocks: Block[];
44 container: HTMLElement;
45 dragStart: (block: Block, ev?: Event) => void;
46 drag: (ev: Event) => void;
47 dragStop: (cancel?: boolean) => void;
48}
49
50export type MapCategoryBlocks = Map<string, Block[]>;
51

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected