import './style/center_modal.less';
import { ModalPortal } from './ModalPortal';
import { Component } from 'inferno';

export default class CenterModal extends Component<any, any> {

  constructor(props, context) {
    super(props, context);
  }

  public render() {
    const cn = this.props.className + ' mp-center-modal';
    return (
      <ModalPortal
        {...this.props}
        className={cn}
      />
    );
  }
}
