UNPKG

@cainiaofe/cn-ui-m

Version:
10 lines (9 loc) 384 B
import { ReactElement } from 'react'; import type { Root } from 'react-dom/client'; declare const MARK = "__antd_mobile_root__"; 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 {};