UNPKG

react-native-cloud-storage

Version:

☁️ Save to & read from iCloud and Google Drive using React Native

12 lines (11 loc) 429 B
"use strict"; import { NativeModules } from 'react-native'; import { createProxiedNativeModule } from '../utils/native'; import { LINKING_ERROR } from './constants'; const NativeLocalFileSystem = createProxiedNativeModule(NativeModules.CloudStorageLocalFileSystem); export const localFileSystem = NativeLocalFileSystem ?? new Proxy({}, { get() { throw new Error(LINKING_ERROR); } }); //# sourceMappingURL=local-fs.js.map