react-performance-testing
Version:
You can test React(ReactNative) runtime performance by using this lib. If you want to check the number of renders, or render time in a test environment, this lib makes sense.
8 lines • 406 B
TypeScript
/// <reference types="react" />
import { ReactSymbol } from './symbols';
export declare const isForwardRefComponent: (Component: React.ElementType<React.ComponentClass | React.FunctionComponent> & {
$$typeof: ReactSymbol;
}) => Component is import("react").ForwardRefExoticComponent<any> & {
render: React.ForwardRefRenderFunction<any>;
};
//# sourceMappingURL=isForwardRefComponent.d.ts.map