import React from 'react'; import { Link } from 'react-router-dom'; import { UserProposal } from 'types'; import './ProfileProposal.less'; import UserRow from 'components/UserRow'; import UnitDisplay from 'components/UnitDisplay'; interface OwnProps { proposal: UserProposal; } export default class Profile extends React.Component { render() { const { title, brief, team, proposalId, funded, target } = this.props.proposal; return (
{title}
{brief}
{' '} raised of{' '} goal

Team

{team.map(user => ( ))}
); } }