I've tried a number of different methods for working with vector-based icons in my React projects over the years, and this is the pattern I follow today.
I also mention alternative approaches so you can find the flavor that best suits your needs and preferences.