so basically i have this data:
const testMeasurments = [
{
data:[
{name:"glucose",value:6,fill:'#57c0e8'},
{name:"SpO2",value:5,fill:"#FF6565"},
{name:"Blood Pressure",value:4,fill:"#FFDA83"},
{name:"Body Weight",value:2,fill:"purple"}
]
}
]
what i want is to create an unordered list of values from this data. what i need is something like this:
<ul>
{testMeasurments.map(s=>
<li>{s.data.value}</li>
)}
</ul>
to produce this:
6
5
4
2