You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/elements.md
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -386,11 +386,19 @@ This is a short-hand for the following styles:
386
386
}
387
387
```
388
388
389
-
If the above styles are specified in `headerStyle` along with `headerShadowVisible: false`, then `headerShadowVisible: false` will take precedence.
389
+
If any of the above styles are specified in `headerStyle` along with `headerShadowVisible: false`, then the styles in `headerStyle` will take precedence.
390
390
391
391
#### `headerStyle`
392
392
393
-
Style object for the header. You can specify a custom background color here, for example.
393
+
Style object for the header. You can specify a custom background color here, for example:
394
+
395
+
```js
396
+
{
397
+
backgroundColor:'tomato',
398
+
}
399
+
```
400
+
401
+
Note that `headerStyle` won't take effect if you are also using [`headerBackground`](#headerbackground). In that case, you should style the element returned from `headerBackground` instead.
0 commit comments