Posts by Projetos React • 1 point
2 posts
-
0
votes2
answers36
viewsA: How to read a default export js file
Good afternoon, I managed to solve the problem that way. import data from './menu-itens' data.items.map(item => ( <li key={item.id}>{repo.title}</li> ))…
-
0
votes2
answers36
viewsQ: How to read a default export js file
Good morning, I’m developing a component with React, but I’m not able to assign values from a file I created for default information. Example: created this menu-items.js file `export default {…