UNPKG

create-expo-cljs-app

Version:

Create a react native application with Expo and Shadow-CLJS!

15 lines (10 loc) 422 B
import { NativeModulesProxy } from 'expo-modules-core'; import ExponentFileSystemShim from './ExponentFileSystemShim'; import { ExponentFileSystemModule } from './FileSystem.types'; let platformModule; if (NativeModulesProxy.ExponentFileSystem) { platformModule = NativeModulesProxy.ExponentFileSystem; } else { platformModule = ExponentFileSystemShim; } export default platformModule as ExponentFileSystemModule;