score:1

Accepted answer

it looks like your directory structure is different than you think.

enter image description here

you have a file named icons in the same directory as your images. but you seem to be expecting icons to be a directory, and your images to be inside that.

to fix it it you can either create the correct directory structure, or change your imports to:

import leftarrow from "./left-arrow.png";

Related Query

More Query from same tag