Skip to content

Commit a53f4a4

Browse files
committed
adding description when encountering unknown nodes
1 parent 5970a32 commit a53f4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/renderRules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const renderRules = {
1212
unknown: (node, children, parent, styles) => {
1313
return (
1414
<View key={getUniqueID()}>
15-
{children}
15+
<Text>Unknown Node: {node.type}</Text> {children}
1616
</View>
1717
);
1818
},

0 commit comments

Comments
 (0)