UNPKG

@lvothnrv/react-native-launchscreen

Version:

A React Native launch screen based on react-native-splash-screen and react-native-bootsplash, compatible with both iOS and Android platforms.

9 lines (6 loc) 245 B
import type { TurboModule } from "react-native"; import { TurboModuleRegistry } from "react-native"; export interface Spec extends TurboModule { hide(): Promise<void>; } export default TurboModuleRegistry.getEnforcing<Spec>("LaunchScreen");