π₯ Breaking Changes
- [shape]
<Link* />
components now use ...additionalProps()
everywhere for consistency. So function props get passed data. example: onClick={event => // stuff}
becomes onClick={data => event => // stuff}
and now you can stroke/fill/attr based on data `stroke={({ target }) => target.data.children ? 'yellow' : 'blue' }. #265
π Enhancements
- [shape] export link path generators. fixes: #263. #265
- [shape] add optional
path
prop so you can pass in path generator function instead of creating the generator every render. #265
π Contributors
Changes:
- @vx/annotation: 0.0.158 => 0.0.160
- @vx/axis: 0.0.159 => 0.0.160
- @vx/demo: 0.0.159 => 0.0.160
- @vx/grid: 0.0.158 => 0.0.160
- @vx/marker: 0.0.158 => 0.0.160
- @vx/shape: 0.0.158 => 0.0.160
- @vx/tooltip: 0.0.158 => 0.0.160
- @vx/vx: 0.0.159 => 0.0.160