import React, { PropTypes } from 'react'; import CopyableInput from './CopyableInput'; class ShareModal extends React.PureComponent { render() { const { projectId, ownerUsername, projectName } = this.props; const hostname = window.location.origin; return (

{projectName}

`} />
); } } ShareModal.propTypes = { projectId: PropTypes.string.isRequired, ownerUsername: PropTypes.string.isRequired, projectName: PropTypes.string.isRequired }; export default ShareModal;