visual-identity/app/components/voting-dapp/proposal-list.js

12 lines
243 B
JavaScript

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