Answer the question
In order to leave comments, you need to log in
How to insert an array of photos in react?
https://jsfiddle.net/vm5f4ycn/
There is an array with addresses - mediaItem.
The SocialMedia component takes addresses from an array and displays a series of images.
Question: how to make the component understand the written address?
Preferably, without using the public root folder - because such addresses are not seen by Github Pages.
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