Skip to content

Commit 809f8dc

Browse files
committed
Changed margin top from integer to float
1 parent 0d765ab commit 809f8dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,18 @@ open BsReactNative;
9898
Style.style([
9999
Style.flexDirection(Column),
100100
Style.backgroundColor("#6698FF"),
101-
Style.marginTop(Pt(5))
101+
Style.marginTop(Pt(5.))
102102
])
103103
)
104104
/>;
105105
106106
/* inline styles with a local open */
107-
<View style=Style.(style([flexDirection(Column), backgroundColor("#6698FF"), marginTop(Pt(5))])) />;
107+
<View style=Style.(style([flexDirection(Column), backgroundColor("#6698FF"), marginTop(Pt(5.))])) />;
108108
109109
/* StyleSheets with a local open */
110110
let styles =
111111
StyleSheet.create(
112-
Style.({"wrapper": style([flexDirection(Column), backgroundColor("#6698FF"), marginTop(Pt(5))])})
112+
Style.({"wrapper": style([flexDirection(Column), backgroundColor("#6698FF"), marginTop(Pt(5.))])})
113113
);
114114
115115
<View style=styles##wrapper />;

0 commit comments

Comments
 (0)