unis_crm/frontend1/node_modules/@rc-component/util/es/React/render.d.ts

10 lines
376 B
TypeScript
Raw Normal View History

2026-03-26 09:29:55 +00:00
import type * as React from 'react';
import type { Root } from 'react-dom/client';
declare const MARK = "__rc_react_root__";
type ContainerType = (Element | DocumentFragment) & {
[MARK]?: Root;
};
export declare function render(node: React.ReactElement, container: ContainerType): void;
export declare function unmount(container: ContainerType): Promise<void>;
export {};