Skip to content

Commit 770eca7

Browse files
committed
Tweaks
1 parent 8a4d9bd commit 770eca7

File tree

9 files changed

+149
-149
lines changed

9 files changed

+149
-149
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,11 @@ Style object for the tab label.
271271
Example:
272272

273273
```js
274-
tabBarLabelStyle: {
275-
fontSize: 16,
276-
fontFamily: 'Georgia',
277-
fontWeight: 300,
278-
},
274+
tabBarLabelStyle: {
275+
fontSize: 16,
276+
fontFamily: 'Georgia',
277+
fontWeight: 300,
278+
},
279279
```
280280

281281
#### `tabBarIcon`
@@ -301,10 +301,10 @@ Style for the badge on the tab icon. You can specify a background color or text
301301
Example:
302302

303303
```js
304-
tabBarBadgeStyle: {
305-
color: 'black',
306-
backgroundColor: 'yellow',
307-
},
304+
tabBarBadgeStyle: {
305+
color: 'black',
306+
backgroundColor: 'yellow',
307+
},
308308
```
309309

310310
#### `tabBarAccessibilityLabel`

versioned_docs/version-7.x/deep-linking.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,11 @@ To make sure Universal Links work in your app, you also need to setup [Associate
207207
If you're using React Navigation within a hybrid app - an iOS app that has both Swift/ObjC and React Native parts - you may be missing the `RCTLinkingIOS` subspec in your `Podfile`, which is installed by default in new React Native projects. To add this, ensure your `Podfile` looks like the following:
208208

209209
```pod
210-
pod 'React', :path => '../node_modules/react-native', :subspecs => [
211-
. . . // other subspecs
212-
'RCTLinkingIOS',
213-
. . .
214-
]
210+
pod 'React', :path => '../node_modules/react-native', :subspecs => [
211+
. . . // other subspecs
212+
'RCTLinkingIOS',
213+
. . .
214+
]
215215
```
216216

217217
### Setup on Android

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Color for the icon and label in the active item in the drawer.
298298
![Drawer active tint color](/assets/navigators/drawer/drawerActiveTintColor.png)
299299

300300
```js
301-
drawerActiveTintColor: 'green',
301+
drawerActiveTintColor: 'green',
302302
```
303303

304304
#### `drawerActiveBackgroundColor`
@@ -308,13 +308,13 @@ Background color for the active item in the drawer.
308308
![Drawer active background color](/assets/navigators/drawer/drawerActiveBackgroundColor.png)
309309

310310
```js
311-
screenOptions={{
312-
drawerActiveTintColor: 'white',
313-
drawerActiveBackgroundColor: '#003CB3',
314-
drawerLabelStyle: {
315-
color: 'white',
316-
},
317-
}}
311+
screenOptions={{
312+
drawerActiveTintColor: 'white',
313+
drawerActiveBackgroundColor: '#003CB3',
314+
drawerLabelStyle: {
315+
color: 'white',
316+
},
317+
}}
318318
```
319319

320320
#### `drawerInactiveTintColor`
@@ -334,12 +334,12 @@ Style object for the single item, which can contain an icon and/or a label.
334334
Example:
335335

336336
```js
337-
drawerItemStyle: {
338-
backgroundColor: '#9dd3c8',
339-
borderColor: 'black',
340-
borderWidth: 2,
341-
opacity: 0.6,
342-
},
337+
drawerItemStyle: {
338+
backgroundColor: '#9dd3c8',
339+
borderColor: 'black',
340+
borderWidth: 2,
341+
opacity: 0.6,
342+
},
343343
```
344344

345345
#### `drawerLabelStyle`
@@ -351,11 +351,11 @@ Style object to apply to the `Text` style inside content section which renders a
351351
Example:
352352

353353
```js
354-
drawerLabelStyle: {
355-
color: 'black',
356-
fontSize: 20,
357-
fontFamily: 'Georgia',
358-
},
354+
drawerLabelStyle: {
355+
color: 'black',
356+
fontSize: 20,
357+
fontFamily: 'Georgia',
358+
},
359359
```
360360

361361
#### `drawerContentContainerStyle`

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

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -688,12 +688,12 @@ Only supported on iOS.
688688
Example:
689689

690690
```js
691-
headerLargeTitleStyle: {
692-
fontFamily: 'Georgia',
693-
fontSize: 22,
694-
fontWeight: '500',
695-
color: 'blue',
696-
},
691+
headerLargeTitleStyle: {
692+
fontFamily: 'Georgia',
693+
fontSize: 22,
694+
fontWeight: '500',
695+
color: 'blue',
696+
},
697697
```
698698

699699
#### `headerStyle`
@@ -726,83 +726,83 @@ Supported values:
726726

727727
<div className="options-grid">
728728

729-
- <img src="/assets/navigators/native-stack/header-blur-effect-extra-light.png" alt="Header blur effect extraLight" />
729+
- ![Header blur effect extraLight](/assets/navigators/native-stack/header-blur-effect-extra-light.png)
730730

731731
`extraLight`
732732

733-
- <img src="/assets/navigators/native-stack/header-blur-effect-light.png" alt="Header blur effect light" />
733+
- ![Header blur effect light](/assets/navigators/native-stack/header-blur-effect-light.png)
734734

735735
`light`
736736

737-
- <img src="/assets/navigators/native-stack/header-blur-effect-regular.png" alt="Header blur effect regular" />
737+
- ![Header blur effect regular](/assets/navigators/native-stack/header-blur-effect-regular.png)
738738

739739
`regular`
740740

741-
- <img src="/assets/navigators/native-stack/header-blur-effect-prominent.png" alt="Header blur effect prominent" />
741+
- ![Header blur effect prominent](/assets/navigators/native-stack/header-blur-effect-prominent.png)
742742

743743
`prominent`
744744

745-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-ultra-thin-material.png" alt="Header blur effect systemUltraThinMaterial" />
745+
- ![Header blur effect systemUltraThinMaterial](/assets/navigators/native-stack/header-blur-effect-system-ultra-thin-material.png)
746746

747747
`systemUltraThinMaterial`
748748

749-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-thin-material.png" alt="Header blur effect systemThinMaterial" />
749+
- ![Header blur effect systemThinMaterial](/assets/navigators/native-stack/header-blur-effect-system-thin-material.png)
750750

751751
`systemThinMaterial`
752752

753-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-material.png" alt="Header blur effect systemMaterial" />
753+
- ![Header blur effect systemMaterial](/assets/navigators/native-stack/header-blur-effect-system-material.png)
754754

755755
`systemMaterial`
756756

757-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-thick-material.png" alt="Header blur effect systemThickMaterial" />
757+
- ![Header blur effect systemThickMaterial](/assets/navigators/native-stack/header-blur-effect-system-thick-material.png)
758758

759759
`systemThickMaterial`
760760

761-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-chrome-material.png" alt="Header blur effect systemChromeMaterial" />
761+
- ![Header blur effect systemChromeMaterial](/assets/navigators/native-stack/header-blur-effect-system-chrome-material.png)
762762

763763
`systemChromeMaterial`
764764

765-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-ultra-thin-material-light.png" alt="Header blur effect systemUltraThinMaterialLight" />
765+
- ![Header blur effect systemUltraThinMaterialLight](/assets/navigators/native-stack/header-blur-effect-system-ultra-thin-material-light.png)
766766

767767
`systemUltraThinMaterialLight`
768768

769-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-thin-material-light.png" alt="Header blur effect systemThinMaterialLight" />
769+
- ![Header blur effect systemThinMaterialLight](/assets/navigators/native-stack/header-blur-effect-system-thin-material-light.png)
770770

771771
`systemThinMaterialLight`
772772

773-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-material-light.png" alt="Header blur effect systemMaterialLight" />
773+
- ![Header blur effect systemMaterialLight](/assets/navigators/native-stack/header-blur-effect-system-material-light.png)
774774

775775
`systemMaterialLight`
776776

777-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-thick-material-light.png" alt="Header blur effect systemThickMaterialLight" />
777+
- ![Header blur effect systemThickMaterialLight](/assets/navigators/native-stack/header-blur-effect-system-thick-material-light.png)
778778

779779
`systemThickMaterialLight`
780780

781-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-chrome-material-light.png" alt="Header blur effect systemChromeMaterialLight" />
781+
- ![Header blur effect systemChromeMaterialLight](/assets/navigators/native-stack/header-blur-effect-system-chrome-material-light.png)
782782

783783
`systemChromeMaterialLight`
784784

785-
- <img src="/assets/navigators/native-stack/header-blur-effect-dark.png" alt="Header blur effect dark" />
785+
- ![Header blur effect dark](/assets/navigators/native-stack/header-blur-effect-dark.png)
786786

787787
`dark`
788788

789-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-ultra-thin-material-dark.png" alt="Header blur effect systemUltraThinMaterialDark" />
789+
- ![Header blur effect systemUltraThinMaterialDark](/assets/navigators/native-stack/header-blur-effect-system-ultra-thin-material-dark.png)
790790

791791
`systemUltraThinMaterialDark`
792792

793-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-thin-material-dark.png" alt="Header blur effect systemThinMaterialDark" />
793+
- ![Header blur effect systemThinMaterialDark](/assets/navigators/native-stack/header-blur-effect-system-thin-material-dark.png)
794794

795795
`systemThinMaterialDark`
796796

797-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-material-dark.png" alt="Header blur effect systemMaterialDark" />
797+
- ![Header blur effect systemMaterialDark](/assets/navigators/native-stack/header-blur-effect-system-material-dark.png)
798798

799799
`systemMaterialDark`
800800

801-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-thick-material-dark.png" alt="Header blur effect systemThickMaterialDark" />
801+
- ![Header blur effect systemThickMaterialDark](/assets/navigators/native-stack/header-blur-effect-system-thick-material-dark.png)
802802

803803
`systemThickMaterialDark`
804804

805-
- <img src="/assets/navigators/native-stack/header-blur-effect-system-chrome-material-dark.png" alt="Header blur effect systemChromeMaterialDark" />
805+
- ![Header blur effect systemChromeMaterialDark](/assets/navigators/native-stack/header-blur-effect-system-chrome-material-dark.png)
806806

807807
`systemChromeMaterialDark`
808808

@@ -823,14 +823,14 @@ Function which returns a React Element to render as the background of the header
823823
Example:
824824

825825
```js
826-
headerBackground: () => (
827-
<LinearGradient
828-
colors={['#c17388', '#90306f']}
829-
style={{ flex: 1 }}
830-
start={{ x: 0, y: 0 }}
831-
end={{ x: 1, y: 0 }}
832-
/>
833-
),
826+
headerBackground: () => (
827+
<LinearGradient
828+
colors={['#c17388', '#90306f']}
829+
style={{ flex: 1 }}
830+
start={{ x: 0, y: 0 }}
831+
end={{ x: 1, y: 0 }}
832+
/>
833+
),
834834
```
835835

836836
#### `headerTintColor`
@@ -849,11 +849,11 @@ Function which returns a React Element to display on the left side of the header
849849
Example:
850850

851851
```js
852-
headerLeft: () => (
853-
<MaterialCommunityIcons name="map" color="gray" size={36} />
854-
),
855-
headerBackVisible: true,
856-
headerBackTitle: 'Back',
852+
headerLeft: () => (
853+
<MaterialCommunityIcons name="map" color="gray" size={36} />
854+
),
855+
headerBackVisible: true,
856+
headerBackTitle: 'Back',
857857
```
858858

859859
#### `unstable_headerLeftItems`
@@ -962,12 +962,12 @@ Style object for header title. Supported properties:
962962
Example:
963963

964964
```js
965-
headerTitleStyle: {
966-
color: 'blue',
967-
fontSize: 22,
968-
fontFamily: 'Georgia',
969-
fontWeight: 300,
970-
},
965+
headerTitleStyle: {
966+
color: 'blue',
967+
fontSize: 22,
968+
fontFamily: 'Georgia',
969+
fontWeight: 300,
970+
},
971971
```
972972

973973
#### `headerSearchBarOptions`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ sidebar_label: Stack
2727
Stack Navigator provides a way for your app to transition between screens where each new screen is placed on top of a stack.
2828

2929
<details>
30-
<summary>Comparison with [Native Stack](native-stack-navigator.md)</summary>
30+
<summary>Comparison with [Native Stack Navigator](native-stack-navigator.md)</summary>
3131

3232
The Stack navigator is implemented in JavaScript and mimics the familiar iOS and Android look & feel. Since it's a custom implementation, it is extremely customizable.
3333

versioned_docs/version-8.x/deep-linking.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,11 @@ To make sure Universal Links work in your app, you also need to setup [Associate
207207
If you're using React Navigation within a hybrid app - an iOS app that has both Swift/ObjC and React Native parts - you may be missing the `RCTLinkingIOS` subspec in your `Podfile`, which is installed by default in new React Native projects. To add this, ensure your `Podfile` looks like the following:
208208

209209
```pod
210-
pod 'React', :path => '../node_modules/react-native', :subspecs => [
211-
. . . // other subspecs
212-
'RCTLinkingIOS',
213-
. . .
214-
]
210+
pod 'React', :path => '../node_modules/react-native', :subspecs => [
211+
. . . // other subspecs
212+
'RCTLinkingIOS',
213+
. . .
214+
]
215215
```
216216

217217
### Setup on Android

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ Color for the icon and label in the active item in the drawer.
390390
![Drawer active tint color](/assets/navigators/drawer/drawerActiveTintColor.png)
391391

392392
```js
393-
drawerActiveTintColor: 'green',
393+
drawerActiveTintColor: 'green',
394394
```
395395

396396
#### `drawerActiveBackgroundColor`
@@ -400,13 +400,13 @@ Background color for the active item in the drawer.
400400
![Drawer active background color](/assets/navigators/drawer/drawerActiveBackgroundColor.png)
401401

402402
```js
403-
screenOptions={{
404-
drawerActiveTintColor: 'white',
405-
drawerActiveBackgroundColor: '#003CB3',
406-
drawerLabelStyle: {
407-
color: 'white',
408-
},
409-
}}
403+
screenOptions={{
404+
drawerActiveTintColor: 'white',
405+
drawerActiveBackgroundColor: '#003CB3',
406+
drawerLabelStyle: {
407+
color: 'white',
408+
},
409+
}}
410410
```
411411

412412
#### `drawerInactiveTintColor`
@@ -426,12 +426,12 @@ Style object for the single item, which can contain an icon and/or a label.
426426
Example:
427427

428428
```js
429-
drawerItemStyle: {
430-
backgroundColor: '#9dd3c8',
431-
borderColor: 'black',
432-
borderWidth: 2,
433-
opacity: 0.6,
434-
},
429+
drawerItemStyle: {
430+
backgroundColor: '#9dd3c8',
431+
borderColor: 'black',
432+
borderWidth: 2,
433+
opacity: 0.6,
434+
},
435435
```
436436

437437
#### `drawerLabelStyle`
@@ -443,11 +443,11 @@ Style object to apply to the `Text` style inside content section which renders a
443443
Example:
444444

445445
```js
446-
drawerLabelStyle: {
447-
color: 'black',
448-
fontSize: 20,
449-
fontFamily: 'Georgia',
450-
},
446+
drawerLabelStyle: {
447+
color: 'black',
448+
fontSize: 20,
449+
fontFamily: 'Georgia',
450+
},
451451
```
452452

453453
#### `drawerContentContainerStyle`

0 commit comments

Comments
 (0)