How to call methods like .rotateZ (doesn't work out of the box) or .center (which accept no args) on geometry component.
<mesh position={[x, y, 0]}>
<shapeBufferGeometry attach="geometry" args={[shape]} rotateZ={3.14} />
<meshBasicMaterial attach="material" color={'#FF0000'} />
</mesh>