Answer the question
In order to leave comments, you need to log in
How to return jsx?
{MenuItems.forEach((item) => {
for (let [headers, headersItems] of Object.entries(item)) {
<div className={s.wrapperSections}>
<img src={tile} alt={Object.entries(headersItems)[0][0]} />
<span>{headers}</span>
</div>
}
})}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question