You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DialogContainer.js 696B

1234567891011121314151617181920212223242526
  1. import { connect } from 'react-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);