import React, { Component } from 'react'; import { OrNull } from '../../wui-core/src/utils/type'; import { PortalProps } from './iOverlay'; /** * Portal组件是将子组件渲染到指定container容器 */ declare class Portal extends Component; }> { static defaultProps: PortalProps; constructor(props: PortalProps); componentDidMount(): void; componentWillReceiveProps(nextProps: PortalProps): void; componentWillUnmount(): void; render(): React.ReactPortal | null; } export default Portal;