79263786

Date: 2024-12-09 03:49:58
Score: 0.5
Natty:
Report link

Another possible way is to use the transform prop and pass the scale

Here is an example

<G>
<Path
     transform={height < 150 ? "scale(1, 0.65)" : undefined}       
      d="..." />
</G>

Also please note you may need to add preserveAspectRatio="xMinYMax" to your svg

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jonathan Coletti