one
Version:
One is a React framework for web, iOS, and Android apps.
13 lines (11 loc) • 434 B
text/typescript
export type LaunchScreenHideOptions = {
// ios fades the launch screen out instead of removing it at once. android's
// system splash plays its own exit either way.
fade?: boolean
}
export interface LaunchScreen {
// keep the launch screen past the first content until hide(). call it while
// the app's modules evaluate, before the first render.
preventAutoHide(): void
hide(options?: LaunchScreenHideOptions): void
}