@Manoj Mohan The issue was solved, I used the subtitles and added unique identifers, which can be retrrived from the event easily.
@Manoj Mohan
I just want to associate the event with from LineChart to te App component and make it unique
Here is a code snippit
{roc.map( data =>{ return( <React.Fragment> <Col md={6} xl={6} key={data["name"].toString()}> <Card > <Card.Header > </Card.Header> <Card.Body > <LineChart linechart={ [data["fpr"],data["tpr"],<code>ROC curve ${data["name"]}</code>,'False Postive Rate','True Postive Rate',data["tpr"].length,data["name"]] }/> </Card.Body> </Card> </Col> < Col md={6} xl={6} > <Card> <Card.Header> </Card.Header> <Card.Body> <App label={[data['name']]}/> </Card.Body> </Card> </Col> </React.Fragment> );