render() {
const { id, title } = this.props.toDo;
return (
<div style={this.getStyle()}>
<input type="checkbox" onChange={this.markedComplete.bind(this, id)} />
<span>{title}</span>
<button style={btnStyle} onClick={this.delTodo.bind(this, id)}>
X
</button>
</div>
)
}
}