UNPKG

@kirz/react-native-toolkit

Version:

Toolkit to speed up React Native development

18 lines 846 B
import React from 'react'; import type { AppSplashScreenProps } from '../components/AppSplashScreen'; import { Plugin, PluginFactoryOptions, PluginsBundle } from '../plugins/Plugin'; type PluginDef = Plugin | (({ useValue: Plugin; } | { useFactory: (plugins: PluginsBundle) => Plugin | void | Promise<Plugin | void>; } | { useDeferredFactory: (plugins: PluginsBundle, resolve: (value: any | PromiseLike<any>) => void, reject: (reason?: any) => void) => Plugin | void | Promise<Plugin | void>; }) & PluginFactoryOptions); type Props = { children?: React.ReactNode; plugins?: PluginDef[]; splashScreenProps?: Omit<AppSplashScreenProps, 'visible' | 'children'>; }; export declare function AppBootstrapper({ children, plugins, splashScreenProps, }: Props): JSX.Element; export {}; //# sourceMappingURL=AppBootstrapper.d.ts.map