Skip to content

Commit 289e904

Browse files
andresmechaliplouc
authored andcommitted
feat(legends): pass id property to symbolShape (#687)
1 parent 680a6ed commit 289e904

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/legends/src/svg/LegendSvgItem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ const LegendSvgItem = ({
124124
onMouseLeave={handleMouseLeave}
125125
/>
126126
{React.createElement(Symbol, {
127+
id: data.id,
127128
x: symbolX,
128129
y: symbolY,
129130
size: style.symbolSize || symbolSize,

0 commit comments

Comments
 (0)