{title}
{
ballots.map((item, i) => {
return
{item.title}
{item.subtitle}
})
}
);
}
}
class BallotDialog extends Component {
handleClose = () => {
this.props.onClose(this.props.selectedValue);
};
handleListItemClick = value => {
this.props.onClose(value);
};
render() {
const { onClose, title, text, polls, ...other } = this.props;
return (