Skip to content

Commit 17def4c

Browse files
committed
custom svg support
1 parent 2e167c7 commit 17def4c

File tree

15 files changed

+393
-348
lines changed

15 files changed

+393
-348
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v1.7.0:
2+
**feature update**:
3+
- creation animation added (see `animateDrawing`)
4+
- custom svg now supported,added `circle` and `heart` shapes just for examples.
5+
16
## v1.6.0:
27
- proptypes - typescript types issues fixed.
38
- now all pointer events enabled in the arrowhead by default ([#50](https://github.com/Eliav2/react-xarrows/issues/50))

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ this means that any code changes in src/index.tsx will immediately be reflected
9595
(add console.log("test") line and see!)\
9696
to reproduce this dev env on your local machine git clone and follow same commands as in [gitpod.yml](./.gitpod.yml).
9797

98+
Pull requests - please from and to the dev-branch only.
99+
98100
if you made an improvement that is relevant for most users, you can quickly submit a pull request using the right toolbar.
99101

100102
### react-xarrows v2
@@ -107,7 +109,6 @@ the properties the xarrow component receives is as follows(don't panic,the impor
107109

108110
```ts
109111
export type xarrowPropsType = {
110-
id?: string | null;
111112
start: refType;
112113
end: refType;
113114
startAnchor?: anchorType | anchorType[];

examples/.eslintcache

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ easee me on:
22
https://codesandbox.io/s/github/Eliav2/react-xarrows/tree/master/examples?file=/src/index.tsx
33

44
if you wish to run these examples locally on your machine use "npm install" to install all dependencies and then "npm start".
5-
reac
5+
reac

examples/babel.config.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

examples/package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"devDependencies": {
2727
"@babel/core": "^7.11.6",
2828
"@babel/plugin-transform-react-jsx": "^7.12.12",
29+
"@babel/plugin-transform-typescript": "^7.13.0",
2930
"@babel/preset-env": "^7.11.5"
3031
}
3132
}

0 commit comments

Comments
 (0)