slickgrid-react
Version:
Slickgrid components made available in React
10 lines (9 loc) • 421 B
TypeScript
import { type Root } from 'react-dom/client';
export declare function createReactComponentDynamically<T = any>(customComponent: any, targetElm: HTMLElement, props?: any, root?: Root | null): {
component: T;
root: Root;
};
export declare function loadReactComponentDynamically<T = any>(customComponent: any, targetElm: HTMLElement, props?: any, root?: Root | null): Promise<{
component: T;
root: Root;
}>;