Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-xarrows

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-xarrows - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

10

lib/index.d.ts

@@ -33,7 +33,7 @@ import React from "react";

_extendSVGcanvas?: number;
_debug: boolean;
_cpx1Offset: number;
_cpy1Offset: number;
_cpx2Offset: number;
_cpy2Offset: number;
_debug?: boolean;
_cpx1Offset?: number;
_cpy1Offset?: number;
_cpx2Offset?: number;
_cpy2Offset?: number;
};

@@ -40,0 +40,0 @@ export declare type anchorType = anchorPositionType | anchorCustomPositionType;

{
"name": "react-xarrows",
"version": "1.6.0",
"version": "1.6.1",
"author": "Eliav Louski",

@@ -5,0 +5,0 @@ "description": "Draw arrows (or lines) between components in React!",

@@ -44,3 +44,2 @@ # react-xarrows

### simple example:

@@ -87,2 +86,7 @@

### react-xarrows v2
v2 is on its way. want to contribute and participate in plannig the next react architecture for react-xarrows?
see discussion [here](https://github.com/Eliav2/react-xarrows/discussions/53)!
### types definitions

@@ -168,3 +172,2 @@

_required_\
each anchor can be: `"auto" | "middle" | "left" | "right" | "top" | "bottom"`.

@@ -282,2 +285,7 @@ `auto` will choose automatically the path with the smallest length. can also be a list of possible anchors. if list is

##### SVGcanvasStyle divContainerStyle
if you wish to pass style to divContainer or SVGcanvas use `SVGcanvasStyle`,`divContainerStyle` and not `SVGcanvasProps`
,`divContainerProps` to not override existing style.
##### _extendSVGcanvas

@@ -284,0 +292,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc