Skip to content

Commit 664917e

Browse files
committed
Link to icons documentation for custom header and tab bars
1 parent 126e792 commit 664917e

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

versioned_docs/version-8.x/bottom-tab-navigator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ function MyTabBar({ navigation }) {
296296
}
297297
```
298298

299+
Also see [icons documentation](icons.md) to use system icons such as [`SF Symbols`](https://developer.apple.com/sf-symbols/) and [Material Design Icons](https://material.io/resources/icons/) in your custom tab bar.
300+
299301
### Options
300302

301303
The following [options](screen-options.md) can be used to configure the screens in the navigator. These can be specified under `screenOptions` prop of `Tab.Navigator` or `options` prop of `Tab.Screen`.

versioned_docs/version-8.x/drawer-navigator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,8 @@ header: ({ navigation, route, options }) => {
595595
};
596596
```
597597

598+
Also see [icons documentation](icons.md) to use system icons such as [`SF Symbols`](https://developer.apple.com/sf-symbols/) and [Material Design Icons](https://material.io/resources/icons/) in your custom header.
599+
598600
To set a custom header for all the screens in the navigator, you can specify this option in the `screenOptions` prop of the navigator.
599601

600602
##### Specify a `height` in `headerStyle`

versioned_docs/version-8.x/material-top-tab-navigator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ function MyTabBar({ navigation }) {
310310
}
311311
```
312312

313+
Also see [icons documentation](icons.md) to use system icons such as [`SF Symbols`](https://developer.apple.com/sf-symbols/) and [Material Design Icons](https://material.io/resources/icons/) in your custom tab bar.
314+
313315
### Options
314316

315317
The following [options](screen-options.md) can be used to configure the screens in the navigator:

versioned_docs/version-8.x/native-stack-navigator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,8 @@ header: ({ navigation, route, options, back }) => {
12621262
12631263
To set a custom header for all the screens in the navigator, you can specify this option in the `screenOptions` prop of the navigator.
12641264
1265+
Also see [icons documentation](icons.md) to use system icons such as [`SF Symbols`](https://developer.apple.com/sf-symbols/) and [Material Design Icons](https://material.io/resources/icons/) in your custom header.
1266+
12651267
Note that if you specify a custom header, the native functionality such as large title, search bar etc. won't work.
12661268
12671269
### Events

versioned_docs/version-8.x/stack-navigator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ header: ({ navigation, route, options, back }) => {
283283

284284
To set a custom header for all the screens in the navigator, you can specify this option in the `screenOptions` prop of the navigator.
285285

286+
Also see [icons documentation](icons.md) to use system icons such as [`SF Symbols`](https://developer.apple.com/sf-symbols/) and [Material Design Icons](https://material.io/resources/icons/) in your custom header.
287+
286288
When using a custom header, there are 2 things to keep in mind:
287289

288290
##### Specify a `height` in `headerStyle` to avoid glitches

0 commit comments

Comments
 (0)