12 lines
243 B
JavaScript
12 lines
243 B
JavaScript
|
import React from 'react';
|
||
|
import Proposal from './proposal';
|
||
|
|
||
|
const ProposalList = props =>
|
||
|
<React.Fragment>
|
||
|
{props.proposals.map((u, i) => (
|
||
|
<Proposal key={i} data={u} />
|
||
|
))}
|
||
|
</React.Fragment>
|
||
|
|
||
|
export default ProposalList;
|