Browse Source

Update styling.md (#4954)

- Fix typo for *popOver* value of *modalPresentationStyle*. Should be *popover* (lowercase)
- *topBar.buttonColor* is not works, but *leftButtonColor* and *rightButtonColor* instead works perfect
Rustem Mussabekov 5 years ago
parent
commit
7c43262650
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      docs/docs/styling.md

+ 3
- 2
docs/docs/styling.md View File

@@ -68,12 +68,13 @@ Navigation.mergeOptions(this.props.componentId, {
68 68
     backgroundColor: 'white',
69 69
     orientation: ['portrait', 'landscape'] // An array of supported orientations
70 70
   },
71
-  modalPresentationStyle: 'overCurrentContext', // Supported styles are: 'formSheet', 'pageSheet', 'overFullScreen', 'overCurrentContext', 'currentContext', 'popOver', 'fullScreen' and 'none'. On Android, only overCurrentContext and none are supported.
71
+  modalPresentationStyle: 'overCurrentContext', // Supported styles are: 'formSheet', 'pageSheet', 'overFullScreen', 'overCurrentContext', 'currentContext', 'popover', 'fullScreen' and 'none'. On Android, only overCurrentContext and none are supported.
72 72
   topBar: {
73 73
     visible: true,
74 74
     animate: false, // Controls whether TopBar visibility changes should be animated
75 75
     hideOnScroll: true,
76
-    buttonColor: 'black',
76
+    leftButtonColor: 'black',
77
+    rightButtonColor: 'black',
77 78
     drawBehind: false,
78 79
     testID: 'topBar',
79 80
     title: {