UNPKG

antd-mobile-taro-ui

Version:

以antd-mobile为设计标准,基于taro框架的微信小程序组件库

14 lines (13 loc) 425 B
import { ReactElement } from 'react'; declare type ImperativeProps = { visible?: boolean; onClose?: () => void; afterClose?: () => void; }; declare type TargetElement = ReactElement<ImperativeProps>; export declare type ImperativeHandler = { close: () => void; replace: (element: TargetElement) => void; }; export declare function renderImperatively(element: TargetElement): ImperativeHandler; export {};