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: docs/themes.md
+2
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ export default () => {
52
52
53
53
If the version of React Native you are using doesn't support hooks yet, you can use the `Appearance.addChangeListener(cb)` and `Appearance.getColorScheme()` functions as described in the [usage section of the README](https://github.com/expo/react-native-appearance#usage).
54
54
55
+
See a full working example of theme integration in [react-navigation/theme-example](https://github.com/react-navigation/theme-example).
56
+
55
57
## Using the currently selected theme
56
58
57
59
Two tools are available to gain access to the theme in any component that descends from the app navigation container: `useTheme` and `ThemeConext`.
Copy file name to clipboardExpand all lines: website/versioned_docs/version-3.x/themes.md
+2
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,8 @@ export default () => {
53
53
54
54
If the version of React Native you are using doesn't support hooks yet, you can use the `Appearance.addChangeListener(cb)` and `Appearance.getColorScheme()` functions as described in the [usage section of the README](https://github.com/expo/react-native-appearance#usage).
55
55
56
+
See a full working example of theme integration in [react-navigation/theme-example](https://github.com/react-navigation/theme-example).
57
+
56
58
## Using the currently selected theme
57
59
58
60
Two tools are available to gain access to the theme in any component that descends from the app navigation container: `useTheme` and `ThemeConext`.
0 commit comments