const React = require('react'); const FlexRow = require('../../components/flex-row/flex-row.jsx'); const Avatar = require('../../components/avatar/avatar.jsx'); const projectShape = require('./projectshape.jsx').projectShape; const RemixCredit = props => { const projectInfo = props.projectInfo; if (Object.keys(projectInfo).length === 0) return null; return (
Thanks to {projectInfo.author.username} for the original project {projectInfo.title} .
); }; RemixCredit.propTypes = { projectInfo: projectShape }; module.exports = RemixCredit;