@douyinfe/semi-ui
Version:
A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.
9 lines (8 loc) • 571 B
TypeScript
import { isHTMLElement } from '@douyinfe/semi-foundation/lib/es/utils/dom';
declare function isClassComponent(component: any): boolean;
declare function isFunctionalComponent(Component: any): boolean;
declare function isReactComponent(component: any): boolean;
declare function isElement(element: any): boolean;
declare function isCompositeTypeElement(element: any): boolean;
declare function isEmptyChildren(children: any): boolean;
export { isClassComponent, isFunctionalComponent, isReactComponent, isElement, isHTMLElement, isCompositeTypeElement, isEmptyChildren };