UNPKG

easy-antd-modal

Version:

二次开发, 简化 Ant Design Modal 的使用方式

4 lines (3 loc) 318 B
import type { DOMElement, HTMLAttributes, ReactElement, SVGAttributes } from 'react'; export declare function isElement<P>(element: any): element is ReactElement<P>; export declare function isDOMTypeElement<P extends HTMLAttributes<T> | SVGAttributes<T>, T extends Element>(element: any): element is DOMElement<P, T>;