mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-28 20:35:19 +08:00
The Linking and BackHandler components are now both supported by react-native-web (#3494)
so there's no need to supply dummy replacements.
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
export const Linking = {
|
||||
addEventListener: () => {},
|
||||
removeEventListener: () => {},
|
||||
getInitialURL: () => Promise.reject('Unsupported platform'),
|
||||
};
|
||||
import { BackHandler } from 'react-native';
|
||||
|
||||
export const BackHandler = {
|
||||
addEventListener: () => {},
|
||||
};
|
||||
export { BackHandler };
|
||||
|
||||
Reference in New Issue
Block a user