Browse Source

Document topBar.height and title.height style option

Guy Carmeli 6 years ago
parent
commit
604a3e2a2a
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      docs/docs/styling.md

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

@@ -71,6 +71,7 @@ Navigation.mergeOptions(this.props.componentId, {
71 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
+    height: 70, // Android only, optional; Height of the TopBar in dp.
74 75
     leftButtons: [{
75 76
       id: 'buttonOne',
76 77
       icon: require('icon.png'),
@@ -107,6 +108,7 @@ Navigation.mergeOptions(this.props.componentId, {
107 108
       fontSize: 14,
108 109
       color: 'red',
109 110
       fontFamily: 'Helvetica',
111
+      height: 70, // Android only, optional; Height of the TitleBar in dp.
110 112
       component: {
111 113
         name: 'example.CustomTopBarTitle',
112 114
         alignment: 'center'