Skip to content

Commit 1a3fa4c

Browse files
committed
pass styles not style to View in AstRenderer
1 parent 537cb16 commit 1a3fa4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/AstRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Text, View } from "react-native";
33
import getUniqueID from "./util/getUniqueID";
44

55
export function rootRenderRule(children, styles) {
6-
return <View key={getUniqueID()} styles={styles.root}>{children}</View>;
6+
return <View key={getUniqueID()} style={styles.root}>{children}</View>;
77
}
88

99
/**

0 commit comments

Comments
 (0)