import { Platform } from '../platform' ; import { LinkingCrossPlatform } from './index' ; export const Linking = Platform . isElectron ? require ( './index-electron' ) . Linking : require ( './index-native' ) . Linking ;