Add .gitignore to exclude all node packages and lock files
This commit is contained in:
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
import type { ComponentPropsWithRef, ComponentType, ExoticComponent } from 'react';
|
||||
import type { CompProps } from './Composition.js';
|
||||
type LazyExoticComponent<T extends ComponentType<any>> = ExoticComponent<ComponentPropsWithRef<T>> & {
|
||||
readonly _result: T;
|
||||
};
|
||||
export declare const useLazyComponent: <Props>({ compProps, componentName, noSuspense, }: {
|
||||
compProps: CompProps<Props>;
|
||||
componentName: string;
|
||||
noSuspense: boolean;
|
||||
}) => LazyExoticComponent<ComponentType<Props>> | ComponentType<Props>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user