Posts by Matheus Gomes • 11 points
1 post
-
1
votes2
answers36
viewsA: How to read a default export js file
You can just name the Object during your import, for example: index js.: import items from './menu-itens'; So to do the reading: items.map((repo, index) => ( <li…