UNPKG

397 BTypeScriptView Raw
1import type { ReactElement } from 'react';
2import type { Root } from 'react-dom/client';
3declare const MARK = "__antd_mobile_root__";
4declare type ContainerType = (Element | DocumentFragment) & {
5 [MARK]?: Root;
6};
7export declare function render(node: ReactElement, container: ContainerType): void;
8export declare function unmount(container: ContainerType): boolean | Promise<void>;
9export {};