Skip to content

Commit

Permalink
docs: update code snippets (#3725)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Abdelfattah authored Mar 6, 2023
1 parent 291d9a9 commit 49bdf46
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/docs/guides/08-theming-with-react-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import {
} from '@react-navigation/native';

const { LightTheme, DarkTheme } = adaptNavigationTheme({
light: NavigationDefaultTheme,
dark: NavigationDarkTheme,
reactNavigationLight: NavigationDefaultTheme,
reactNavigationDark: NavigationDarkTheme,
});
```

Expand Down Expand Up @@ -159,8 +159,8 @@ import {
import merge from 'deepmerge';

const { LightTheme, DarkTheme } = adaptNavigationTheme({
light: NavigationDefaultTheme,
dark: NavigationDarkTheme,
reactNavigationLight: NavigationDefaultTheme,
reactNavigationDark: NavigationDarkTheme,
});

const CombinedDefaultTheme = merge(MD3DarkTheme, LightTheme);
Expand Down Expand Up @@ -194,8 +194,8 @@ const CombinedDarkTheme = {
```js
const { LightTheme, DarkTheme } = adaptNavigationTheme({
light: NavigationDefaultTheme,
dark: NavigationDarkTheme,
reactNavigationLight: NavigationDefaultTheme,
reactNavigationDark: NavigationDarkTheme,
});

const CombinedDefaultTheme = {
Expand Down

0 comments on commit 49bdf46

Please sign in to comment.