@turbox3d/design-engine
Version:
Large-scale design application engine library
25 lines (24 loc) • 709 B
TypeScript
import * as React from 'react';
interface IProps extends React.PropsWithChildren {
/** 挂载点 */
mountPointId?: string;
/** 容器节点样式 */
className?: string;
/** 只在当前支持的环境下渲染,离开环境自动卸载 */
environments?: string[];
/** style */
style?: React.CSSProperties;
/** 切换环境时是否需要卸载 dom */
unmountDom?: boolean;
}
export declare class EnvViewMounter extends React.Component<IProps> {
static defaultProps: {
className: string;
mountPointId: string;
environments: never[];
style: {};
unmountDom: boolean;
};
render(): React.JSX.Element | null;
}
export {};