Passing parameters images to routes

I am designing a project to book vacations and I created a component in which I display an image of the beach and it has 2 props, which is {price, image} in this way

When you click on it, go to a screen that I designed to display the image of the beach and its price … But here is the problem … Whenever I click on any beach, the image of the beach comes to me and the price is fixed without changing

I want to change this following code in the beach screen … because I want when I click on the first beach, its image and price will appear to me … and when I click on the second, its image and price appear to me … and when I click on the third, its image and price appear to me … instead of this fixed image and price Constant

I hope for help please