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