您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DialogContainer.js 698B

12345678910111213141516171819202122232425
  1. import { connect } from '../../../redux';
  2. import AbstractDialogContainer, {
  3. abstractMapStateToProps
  4. } from '../AbstractDialogContainer';
  5. /**
  6. * Implements a DialogContainer responsible for showing all dialogs. We will
  7. * need a separate container so we can handle multiple dialogs by showing them
  8. * simultaneously or queueing them.
  9. *
  10. * @extends AbstractDialogContainer
  11. */
  12. class DialogContainer extends AbstractDialogContainer {
  13. /**
  14. * Implements React's {@link Component#render()}.
  15. *
  16. * @inheritdoc
  17. * @returns {ReactElement}
  18. */
  19. render() {
  20. return this._renderDialogContent();
  21. }
  22. }
  23. export default connect(abstractMapStateToProps)(DialogContainer);