Files
2026-01-16 02:20:32 +00:00

10 lines
436 B
TypeScript

import * as React from 'react';
export type UnmountType = () => Promise<void>;
export type RenderType = (node: React.ReactElement, container: Element | DocumentFragment) => UnmountType;
/**
* @deprecated Set React render function for compatible usage.
* This is internal usage only compatible with React 19.
* And will be removed in next major version.
*/
export declare function unstableSetRender(render?: RenderType): RenderType;