chore(react): allow custom data-testid #4838

This commit is contained in:
moklick
2024-11-24 14:15:01 +01:00
parent 1e38733da5
commit fbeab9c11d
@@ -153,11 +153,11 @@ function ReactFlow<NodeType extends Node = Node, EdgeType extends Edge = Edge>(
return (
<div
data-testid="rf__wrapper"
{...rest}
style={{ ...style, ...wrapperStyle }}
ref={ref}
className={cc(['react-flow', className, colorModeClassName])}
data-testid="rf__wrapper"
id={id}
>
<Wrapper