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:
@@ -40,7 +40,7 @@ const initialElements: Elements = [
|
||||
source: '5',
|
||||
target: '6',
|
||||
label: {
|
||||
component: CustomLabel,
|
||||
component: markRaw(CustomLabel),
|
||||
props: {
|
||||
text: 'custom label text',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user