Open henrybzhang opened 1 year ago
try to use the viewBox
prop on the HexGrid
. The HexGrid
is basically a svg
component with the following default props
width = 800,
height = 600,
viewBox = "-50 -50 100 100",
the first two values of the viewBox should allow you to "position" your element. I dont yet understand svg enough to explain it properly, but hope this helps
I assume the
Layout.origin
should be used, but I can't seem to figure out the correct units to set it to. I currently haveAny help would be appreciated!