Answer the question
In order to leave comments, you need to log in
How to pass parameter to react component?
Good day, tell me, there is a gallery component, I want the images of this gallery to be different on different pages, i.e. it turns out to make several arrays of images and pass them as props or states, with react not very much, how to implement?
https://codepen.io/anon/pen/aeLQva
Answer the question
In order to leave comments, you need to log in
https://codesandbox.io/s/runtime-currying-v27yd - here is an example, I hope you understand)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question