Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Commit fd13edf

Browse files
author
bakaa99
authored
updated for v4
HeaderBackButton is removed from react-navigation
1 parent a134c55 commit fd13edf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Header.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import {
77
StyleSheet,
88
View,
99
} from 'react-native';
10-
import { withNavigation, HeaderBackButton } from 'react-navigation';
10+
import { withNavigation } from 'react-navigation';
11+
import { HeaderBackButton } from 'react-navigation-stack';
1112
import { getInset, getStatusBarHeight } from 'react-native-safe-area-view';
1213
import { isIphoneX } from 'react-native-iphone-x-helper';
1314

0 commit comments

Comments
 (0)