mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-13 09:39:18 +08:00
* MaskedViewIOS use broke react-native-web support, this fixes it. * Fallback more gracefully. * Actually return the value ...
10 lines
230 B
JavaScript
10 lines
230 B
JavaScript
import {
|
|
BackAndroid as DeprecatedBackAndroid,
|
|
BackHandler as ModernBackHandler,
|
|
MaskedViewIOS,
|
|
} from 'react-native';
|
|
|
|
const BackHandler = ModernBackHandler || DeprecatedBackAndroid;
|
|
|
|
export { BackHandler, MaskedViewIOS };
|