chore(svelte): add class to BaseEdge comp
This commit is contained in:
@@ -14,6 +14,8 @@
|
|||||||
export let markerEnd: $$Props['markerEnd'] = undefined;
|
export let markerEnd: $$Props['markerEnd'] = undefined;
|
||||||
export let style: $$Props['style'] = undefined;
|
export let style: $$Props['style'] = undefined;
|
||||||
export let interactionWidth: $$Props['interactionWidth'] = 20;
|
export let interactionWidth: $$Props['interactionWidth'] = 20;
|
||||||
|
let className: $$Props['class'] = undefined;
|
||||||
|
export { className as class };
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<path
|
<path
|
||||||
|
|||||||
@@ -10,4 +10,5 @@ export type BaseEdgeProps = Pick<
|
|||||||
labelY?: number;
|
labelY?: number;
|
||||||
markerStart?: string;
|
markerStart?: string;
|
||||||
markerEnd?: string;
|
markerEnd?: string;
|
||||||
|
class?: string;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user