antd-mobile
Version:
<div align="center">
10 lines (9 loc) • 397 B
TypeScript
import type { ReactElement } from 'react';
import type { Root } from 'react-dom/client';
declare const MARK = "__antd_mobile_root__";
declare type ContainerType = (Element | DocumentFragment) & {
[MARK]?: Root;
};
export declare function render(node: ReactElement, container: ContainerType): void;
export declare function unmount(container: ContainerType): boolean | Promise<void>;
export {};