1 import PropTypes from 'prop-types';
2 import React from 'react';
3 import { Modal } from 'react-bootstrap';
4 import { withTranslation } from 'react-i18next';
6 import EditNicknameForm from './EditNicknameForm';
7 import i18n from '../../i18n';
9 const EditNicknameDialog = ({
14 <Modal className="edit-stream-link-dialog" onHide={onHide} show={show}>
15 <Modal.Header closeButton>
17 {i18n.t('users.editNickname')}
26 EditNicknameDialog.propTypes = {
27 onHide: PropTypes.func,
29 user: PropTypes.shape({
33 export default withTranslation()(EditNicknameDialog);