simple explanation:-
https://ijaycent.hashnode.dev/ways-to-import-images-to-your-react-app