Export Images

Learn to import images from the folder and export data from a single file.

Here, we update our ImageData.js file, import the images from the images folder in the ImageData.js file, and export the cardImages array of objects with the src and matched properties.

Add images

Here’s how to import the images:

import BHUTAN from
...