react-xarrows
Advanced tools
Changelog
2.0.1
top level Xwrapper
context and useXarrow
hook added!
Xwrapper
wrapper and useXarrow
hook.zIndex
prop added to Xarrow
label
prop renamed to labels
startAnchor.offset.rightness
renamed to startAnchor.offset.x
.startAnchor.offset.bottomness
renamed to startAnchor.offset.y
.endAnchor
.gridBreak
type changed from number to string. API changed(see readme)!headShape
and tailShape
breaking change: custom svg is now supported using jsx only.
headShape.svgElem is now jsx element and not a string. headShape.svgProps removed!
example: headShape={ svgElem: <path d="M 0 0 L 1 0.5 L 0 1 L 0.25 0.5 z" />, offsetForward: 0.25 }
Changelog
v1.7.1:
Changelog
v1.7.0:
big update!
performance improvements:
feature update:
animateDrawing
,showXarrow
)circle
and heart
shapes just for examples.new properties:
gridBreak
showXarrow
animateDrawing
headShape
tailShape
Docs improved!
Changelog
v1.6.0:
SVGcanvasStyle
and divContainerStyle
([#42])(https://github.com/Eliav2/react-xarrows/issues/42)showHead
,showTail
,tailSize
,tailColor
,arrowTailProps
.extendSVGcanvas
to _extendSVGcanvas
_cpx1Offset
,_cpy1Offset
,_cpx2Offset
,_cpy2Offset
.