[Solved] How to pass multiple prop in image [closed]


Needs to add a few adjustments to make it work.
App.js

 const products = [
    {
      title: "First Accordion",
      body: "I am just a body hiddent untill someone clicked on me",
      linkUrl: [
        {
          'url': "https://upload.wikimedia.org/wikipedia/commons/7/77/Google_Images_2015_logo.svg"
        },
        {
          'url': "https://upload.wikimedia.org/wikipedia/commons/7/77/Google_Images_2015_logo.svg"
        },
      ],
      linktitle: "Google Link"
    },
    {
      title: "Second Accordion",
      body: "I am just a body hiddent untill someone clicked on me",
      linkUrl: [
        {
          'url': "https://upload.wikimedia.org/wikipedia/commons/7/77/Google_Images_2015_logo.svg"
        }
      ],
      linktitle: "Google Link"
    }
  ]

Accordion.js

   {linkUrl.map(product => (
     <img src={product.url} alt="Avatar" classname="image" />
   ))}```

solved How to pass multiple prop in image [closed]