MCPcopy Create free account
hub / github.com/Shitanshukumar607/Drawspace / RectangleShapesProps

Interface RectangleShapesProps

components/CanvasShapeRenderers.tsx:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30interface RectangleShapesProps {
31 rectangles: (RectangleShape & RectangleProperties)[];
32 selectedShapeId: string | null;
33 isPointerTool: boolean;
34 onSelect: (id: string, type: TransformerSelectionType) => void;
35 onDragEnd: (id: string, e: KonvaEventObject<Event>) => void;
36 onTransformEnd: (id: string, e: KonvaEventObject<Event>) => void;
37 registerRef: ShapeRefRegistry;
38}
39
40export const RectangleShapes = ({
41 rectangles,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected