core-native
Version:
A lightweight framework based on React Native + Redux + Redux Saga, in strict TypeScript.
8 lines • 450 B
TypeScript
import React from "react";
/**
* CAVEAT:
* When using require("..").Component in React Native, the type info is discarded.
* If the Props of returned component is not {}, you should explicitly specify the generic <T> for the required component (but not recommended).
*/
export declare function async<T>(componentLoader: () => React.ComponentType<T>, loadingComponent?: React.ReactNode): React.ComponentType<T>;
//# sourceMappingURL=async.d.ts.map