import EuiBasePage from '../eui-base.po.js'
import CdkOverlayContainer from '../../../../components/cdk-overlay-container.js'
import CoEuiMessageBoxContainer from '../../../../components/10x/eui/eui-message-box-container.js'
import CoEuiButton from '../../../../components/10x/eui/eui-button.js'

export default class EuiMessageBoxPage extends EuiBasePage {
  constructor() {
      super();
  }
  get cdkOverlayContainer() {
    return new CdkOverlayContainer(this.root);
  }
  get euiMessageBoxCo() {
    return new CoEuiMessageBoxContainer(this.cdkOverlayContainer.overlayPane);
  }
  get euiButtonCo() {
    return new CoEuiButton(this.mainContent);
  }
  euiButtonCOFromSectionWithId(text) {
    return new CoEuiButton(this.sectionById(text))
  }
}


