Is there any problem of using array to save src in it to display on component, it doesn't work?
const imgs = [
'./../imgs/book1.jpg',
'./../imgs/book2.jpg',
'./../imgs/book3.jpg',
]
const displayImg = imgBooks.forEach(img => {
return (
<figure>
<img src={img} alt='book' />
</figure>**strong text**
)
})