Hi I am new at Svg and I am trying to learn ReactJs day by day. I have a question and I do not have any idea whether it is possible. I have Svg element and I wrapped element of its with g. g element has one rect element and I want to make it resizeable with mouse event such as this resizable event here if it's possible.I did it resizable with value using form input but i did not achive that with using mouse event. I did not find a correct answer or solution on web? Could you help me at this issue ?
Here is structure :
<svg>
<g>
<rect>
//something
</rect>
</g>
</svg>