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
     backgroundColor: 'white',
68
     backgroundColor: 'white',
69
     orientation: ['portrait', 'landscape'] // An array of supported orientations
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
   topBar: {
72
   topBar: {
73
     visible: true,
73
     visible: true,
74
     animate: false, // Controls whether TopBar visibility changes should be animated
74
     animate: false, // Controls whether TopBar visibility changes should be animated
75
     hideOnScroll: true,
75
     hideOnScroll: true,
76
-    buttonColor: 'black',
76
+    leftButtonColor: 'black',
77
+    rightButtonColor: 'black',
77
     drawBehind: false,
78
     drawBehind: false,
78
     testID: 'topBar',
79
     testID: 'topBar',
79
     title: {
80
     title: {