react-native-bootsplash-screen
Version:
Display a bootsplash on your app starts. Hide it when you want.
19 lines (15 loc) • 370 B
TypeScript
declare module "react-native-bootsplash" {
export type ShowConfig = {
duration?: number;
};
export type HideConfig = {
duration?: number;
};
export function show(config?: ShowConfig): void;
export function hide(config?: HideConfig): void;
const RNBootSplash: {
show: typeof show;
hide: typeof hide;
};
export default RNBootSplash;
}