Skip to content

Commit

Permalink
Merge pull request #417 from Lemoncode/dev
Browse files Browse the repository at this point in the history
shapetype
  • Loading branch information
brauliodiez authored Sep 30, 2024
2 parents aa4e099 + ee8cd68 commit 358b084
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const useGroupShapeProps = (
width,
height,
},
shapeType,
ref,
handleSelection
),
Expand All @@ -33,6 +34,7 @@ export const useGroupShapeProps = (
export const generateShapeGroupCommonProps = (
props: ShapeProps,
restrictedSize: Size,
shapeType: ShapeType,
ref: React.ForwardedRef<any>,
handleSelection: (e: KonvaEventObject<MouseEvent>) => void
) => {
Expand All @@ -46,5 +48,6 @@ export const generateShapeGroupCommonProps = (
'data-id': id,
onClick: handleSelection,
ref,
shapeType,
};
};

0 comments on commit 358b084

Please sign in to comment.