update(edges): useAttrs on edges to use style

* remove class and style props, pass them as attrs

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-21 13:33:59 +01:00
parent e4ead738c9
commit ba24f3ca62
7 changed files with 45 additions and 31 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ const initialElements: Elements = [
source: '5',
target: '6',
label: {
component: CustomLabel,
component: markRaw(CustomLabel),
props: {
text: 'custom label text',
},