I have a map that render few items. How can I pass params like name of the item, id of the item etc to the modal component? 

```
render(){
    return(
        <div>

            <Modal 
                isOpen={this.state.OpenDeleteModal}
                confirmationTitle={`Delete item`}
                confirmationCancel={'No'}
                confirmationSuccess={'Yes'}
                closeModal={this.closeModal}
                successModal={this.successModal}
            >
                <p className="center">Are you sure you want to delete this item?</p>
            </Modal>

            <div className="wrapper">
                {map(items, obj =>
                    <div key={obj._id} className="panel-body">
                        <div className="row">
                            <h2 className="title">{obj.name}</h2>
                            <a onClick={()=> this.setState({OpenDeleteModal:true})}>Delete</a>
                        </div>
                    </div>
                )}
            </div>
        </div>
    )
}

```

I only can think of put the obj.\_id in the tag as custom attribute and when user click on delete it change the state of the selectedItem, pass it through props.