Circle with margin
Opened this issue · 8 comments
<Circle rectProps={{ className: 'name' }} />
I added a class name to it. @FlorianBEME

First, I thank you for taking the time to address the issue ^^.
However, it seems that the div you pointed out is not the one with this margin.
It appears that this 12px margin is applied within the 'style' section. The issue is that if I try to override these properties, the content of the 'style' section seems to take priority.
It might be wiser to create a 'pointProps' prop where we could pass the elements in a similar way as 'rectProp,' allowing us to override the style more effectively.
regardless, thank you for taking the time to respond to me.
@FlorianBEME I accepted your advice. Upgrade v2.1.0
@jaywcjlove sorry i have a small problem. Using it this way seems to overwrite all styles. I only want to override the specified styles.
pointProps={{
style: {
marginBottom: 0,
},
}}
@cyz1901 Upgrade v2.1.1
thx lgtm