2018-05-30 00:29:40 +00:00
|
|
|
import React, {Fragment} from 'react';
|
2018-05-21 20:15:46 +00:00
|
|
|
import Proposal from './proposal';
|
|
|
|
|
|
|
|
const ProposalList = props =>
|
2018-05-30 00:29:40 +00:00
|
|
|
<Fragment>
|
2018-05-21 20:15:46 +00:00
|
|
|
{props.proposals.map((u, i) => (
|
|
|
|
<Proposal key={i} data={u} />
|
|
|
|
))}
|
2018-05-30 00:29:40 +00:00
|
|
|
</Fragment>
|
2018-05-21 20:15:46 +00:00
|
|
|
|
|
|
|
export default ProposalList;
|