UNPKG

expo-splash-screen

Version:

Provides a module to allow keeping the native Splash Screen visible until you choose to hide it.

19 lines (18 loc) 718 B
import { AndroidSplashConfig } from '@expo/prebuild-config/build/plugins/unversioned/expo-splash-screen/getAndroidSplashConfig'; import { IOSSplashConfig } from '@expo/prebuild-config/build/plugins/unversioned/expo-splash-screen/getIosSplashConfig'; import { ConfigPlugin } from 'expo/config-plugins'; type PluginConfig = { backgroundColor: string; imageWidth?: number; enableFullScreenImage_legacy?: boolean; image?: string; resizeMode?: 'contain' | 'cover' | 'native'; dark?: { image?: string; backgroundColor?: string; }; android?: AndroidSplashConfig; ios?: IOSSplashConfig; }; declare const _default: ConfigPlugin<PluginConfig | null>; export default _default;