import '../base/defaultProps';
import SayHello from './SayHello';

const components = {
  SayHello,
};

const componentList = Object.values(components);

export default componentList;

window._epochUIComponents_ = Object.assign({}, window._epochUIComponents_, components);

// register
if (typeof window.registerBundle !== 'undefined') {
  window.registerBundle(componentList);
} else {
  // 挂载到window，等待后续被引擎注册
  window._componentRegisterQueue = window._componentRegisterQueue || [];
  window._componentRegisterQueue.push(componentList);
}
