We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfc10e3 commit 299b852Copy full SHA for 299b852
1 file changed
packages/render-html/src/helpers/getNativePropsForTNode.ts
@@ -70,7 +70,7 @@ export default function getNativePropsForTNode<
70
children,
71
onPress: syntheticOnPress,
72
style: [style, passedNativeProps?.style, switchProp.style],
73
- testID: tnode.tagName || undefined
+ testID: switchProp.testID || tnode.tagName || undefined
74
};
75
return nativeProps as any;
76
}
0 commit comments