score:1

var id = this.props.data.id;
var isSelected = this.props.data.IsSelected;

return (
    <div ref='some_ref' className="contact-selector">
        <input type="checkbox"
            checked={isSelected} data-ref={id}
            onChange={this.handleChange} />
    </div>
);

Related Query

More Query from same tag