Skip to content

Commit 0cac4a1

Browse files
committedAug 24, 2019
Add themes example link
1 parent e1d6d7e commit 0cac4a1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎docs/themes.md

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ export default () => {
5252

5353
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).
5454

55+
See a full working example of theme integration in [react-navigation/theme-example](https://github.com/react-navigation/theme-example).
56+
5557
## Using the currently selected theme
5658

5759
Two tools are available to gain access to the theme in any component that descends from the app navigation container: `useTheme` and `ThemeConext`.

‎website/versioned_docs/version-3.x/themes.md

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ export default () => {
5353

5454
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).
5555

56+
See a full working example of theme integration in [react-navigation/theme-example](https://github.com/react-navigation/theme-example).
57+
5658
## Using the currently selected theme
5759

5860
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

Comments
 (0)