UNPKG

desmy-react

Version:

Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.

10 lines (8 loc) 376 B
import { default as React, ComponentType, ReactNode } from 'react'; type DesmyLazyloadingProps = { fallback?: ReactNode; }; declare const DesmyLazyloading: <P extends object>(importFunc: () => Promise<{ default: ComponentType<P>; }>, { fallback }?: DesmyLazyloadingProps) => React.FC<P & JSX.IntrinsicAttributes & React.PropsWithRef<P>>; export { DesmyLazyloading };