@react-native-ohos/react-native-document-picker
Version:
A react native interface to access documents from dropbox, google drive, iCloud...
9 lines • 461 B
JavaScript
import { Platform } from 'react-native';
import docPicker from 'react-native-document-picker';
import docPickerHarmony from './index.harmony';
const isOtherPlatform = (() => {
return Platform.OS === 'android' || Platform.OS === 'ios' || Platform.OS === 'web' || Platform.OS === 'macos' || Platform.OS === 'windows';
})();
const exportDocPicker = isOtherPlatform ? docPicker : docPickerHarmony;
export default exportDocPicker;
//# sourceMappingURL=index.js.map