fix: move ariaRole

This commit is contained in:
Abbey Yacoe
2025-06-03 15:13:32 +02:00
parent 96eba257aa
commit 79db292c4d
2 changed files with 10 additions and 6 deletions
+5 -5
View File
@@ -64,6 +64,11 @@ export type Edge<
*/
reconnectable?: boolean | HandleType;
focusable?: boolean;
/**
* The ARIA role attribute for the edge, used for accessibility.
* @default "group"
*/
ariaRole?: AriaRole;
};
type SmoothStepEdge<EdgeData extends Record<string, unknown> = Record<string, unknown>> = Edge<
@@ -183,11 +188,6 @@ export type BaseEdgeProps = Omit<SVGAttributes<SVGPathElement>, 'd' | 'path' | '
* element in a separate SVG document or element.
*/
markerEnd?: string;
/**
* The ARIA role attribute for the edge, used for accessibility.
* @default "group"
*/
ariaRole?: AriaRole;
};
/**