I have a react element like this:
var element =
<div>
<span>37</span>
<span>increased</span>
<div>
I want to modify this element by add "activities" after 37, so it becomes:
var element =
<div>
<span>37 Activities</span>
<span>increased</span>
<div>
I am stucked on how to change this element. Is there a way to "inject" the string Activities to the element?
Note: I don't have access the the function which returns the element. What I can do is to modify the element.
Thanks