Skip to content

Commit

Permalink
Update styling.md (wix#4690)
Browse files Browse the repository at this point in the history
  • Loading branch information
retyui authored and vshkl committed Feb 5, 2020
1 parent f512807 commit 20324f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Navigation.mergeOptions(this.props.componentId, {
visible: false
},
layout: {
topMargin: Navigation.constants().statusBarHeight, // Set the layout's top margin
topMargin: (await Navigation.constants()).statusBarHeight, // Set the layout's top margin
orientation: ['portrait', 'landscape'] | ['sensorLandscape'], // An array of supported orientations
componentBackgroundColor: 'red' // Set background color only for components, helps reduce overdraw if background color is set in default options.
},
Expand Down

0 comments on commit 20324f4

Please sign in to comment.