function AppLoaderContainer({ loading, renderer = appLoaderRenderer, children, ...rest }) {
	if (loading) {
		return renderer(<AppLoader {...rest} />);
	}

	const injected = Inject.all(rest.getComponent, rest.components, CustomInject);
	return (
		<div>
			{injected('before-children')}
			{children || null}
			{injected('after-children')}
		</div>
	);
}
/**
 * This container show the application's loader & bootstrap the app
 * @param {object} props the component props
 * @param {boolean} props.loading tell if the app loader should show the loader or the content
 * @param {function} props.renderer lets you customise the way we display the loader in the app
 * @param {object} props.children react element to show
 */
This container show the application's loader & bootstrap the app
@param {object} props the component props
@param {boolean} props.loading tell if the app loader should show the loader or the content
@param {function} props.renderer lets you customise the way we display the loader in the app
@param {object} props.children react element to show
This container show the application ' s loader & bootstrap the app @param { object } props the component props @param { boolean } props . loading tell if the app loader should show the loader or the content @param { function } props . renderer lets you customise the way we display the loader in the app @param { object } props . children react element to show
function AppLoaderContainer({ loading, renderer = appLoaderRenderer, children, ...rest }) {
	if (loading) {
		return renderer(<AppLoader {...rest} />);
	}
	const injected = Inject.all(rest.getComponent, rest.components, CustomInject);
	return (
		<div>
			{injected('before-children')}
			{children || null}
			{injected('after-children')}
		</div>
	);
}
function AppLoaderContainer ( { loading , renderer = appLoaderRenderer , children , ... rest } ) { if ( loading ) { return renderer ( < AppLoader { ... rest } / > ) ; } const injected = Inject . all ( rest . getComponent , rest . components , CustomInject ) ; return ( < div > { injected ( 'before-children' ) } { children || null } { injected ( 'after-children' ) } < / div > ) ; }
This container show the application's loader & bootstrap the app
 @param {object} props the component props
 @param {boolean} props.loading tell if the app loader should show the loader or the content
 @param {function} props.renderer lets you customise the way we display the loader in the app
 @param {object} props.children react element to show
This container show the application ' s loader & bootstrap the app @param { object } props the component props @param { boolean } props . loading tell if the app loader should show the loader or the content @param { function } props . renderer lets you customise the way we display the loader in the app @param { object } props . children react element to show