first commit
This commit is contained in:
13
frontend/node_modules/rc-util/es/React/render.d.ts
generated
vendored
Normal file
13
frontend/node_modules/rc-util/es/React/render.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
};
|
||||
/** @private Test usage. Not work in prod */
|
||||
export declare function _r(node: React.ReactElement, container: ContainerType): void;
|
||||
export declare function render(node: React.ReactElement, container: ContainerType): void;
|
||||
/** @private Test usage. Not work in prod */
|
||||
export declare function _u(container: ContainerType): void;
|
||||
export declare function unmount(container: ContainerType): Promise<void>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user