import PropTypes from 'prop-types'; import React from 'react'; import { Link } from 'react-router'; import { withTranslation } from 'react-i18next'; import LogoIcon from '../images/p5js-logo-small.svg'; import CodeIcon from '../images/code.svg'; const PreviewNav = ({ owner, project, t }) => ( ); PreviewNav.propTypes = { owner: PropTypes.shape({ username: PropTypes.string.isRequired }).isRequired, project: PropTypes.shape({ name: PropTypes.string.isRequired, id: PropTypes.string.isRequired, }).isRequired, t: PropTypes.func.isRequired }; export default withTranslation()(PreviewNav);