How i can able access this
{
"user": {
"questionsz": [
{
"_id": "62737b55583793fad608aaa2",
"question": "<b>Directions(Q.1 to Q.5 ): </b><p>What approximate value should come in place of question mark (?) in the following questions? ",
"__v": 0
}
]
}
}
Here Below my code
const index = (user) => {
return (
<div>
question. {user.question}
</div>
)
}
how can i access question property from above json to return actual data to show in frontend