I have following code:
export class Highlights extends React.Component { render() { return ( {JSON.string
{this.props.highlights_data.data.map((e, i) => )}
You could just send in the item itself.
And access label and value in the child with props.item.label or props.item.value.
label
value
props.item.label
props.item.value