UNPKG

expo-splash-screen

Version:

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

23 lines 754 B
import { NativeModule } from 'expo-modules-core/types'; export type SplashScreenOptions = { /** * The duration of the fade out animation in milliseconds. * @default 400 */ duration?: number; /** * Whether to hide the splash screen with a fade out animation. * @platform ios * @default false */ fade?: boolean; }; export interface SplashScreenNativeModule extends NativeModule { setOptions: (options: SplashScreenOptions) => void; preventAutoHideAsync: () => Promise<boolean>; hide: () => void; hideAsync: () => Promise<void>; _internal_maybeHideAsync: () => Promise<void>; _internal_preventAutoHideAsync: () => Promise<boolean>; } //# sourceMappingURL=SplashScreen.types.d.ts.map