react-native-cloud-storage
Version:
☁️ Save to & read from iCloud and Google Drive using React Native
8 lines • 461 B
TypeScript
import RNCloudStorage from '../cloud-storage';
/**
* A hook that tests whether or not the cloud storage is available.
* @param cloudStorageInstance - An optional instance of RNCloudStorage to use instead of the default instance.
* @returns A boolean indicating whether or not the cloud storage is available.
*/
export declare const useIsCloudAvailable: (cloudStorageInstance?: RNCloudStorage) => boolean;
//# sourceMappingURL=use-is-cloud-available.d.ts.map