react-native-cloud-storage
Version:
☁️ Save to & read from iCloud and Google Drive using React Native
12 lines (11 loc) • 467 B
JavaScript
;
import NativeCloudStorageLocalFileSystem from '../specs/NativeCloudStorageLocalFileSystem';
import { createProxiedNativeModule } from '../utils/native';
import { LINKING_ERROR } from './constants';
const NativeLocalFileSystem = createProxiedNativeModule(NativeCloudStorageLocalFileSystem);
export const localFileSystem = NativeLocalFileSystem ?? new Proxy({}, {
get() {
throw new Error(LINKING_ERROR);
}
});
//# sourceMappingURL=local-fs.js.map