2
i have an array of objects, and I want to display the value
from their status
which is an attribute within the object.
this.state = {
objetcs: [{
value: 1,
status: false
}, {
value: 2,
status: true
}]
}
}
// const object = [{ value: 1, status: false }, {value: 2, status: true} ]
If the status
for true
I re-dress it, if not, I re-dress it.
How can I do that ?