Hope you are having a great day! We have some custom icons in an app we are working on and I am hoping to import them as react components as you can do with create-react-app. It does not seem this works out of the box for the app platform though so looking for some guidance. In the @dhis2/ui repo it seems you are using the svgr. Would you recommend that I set this up for my project as well?
If this is the case then I need some advice, because instructions on setting up SVGR involve making changes to webpack and I am not sure how to do this for an app platform project!
I basically have my folder of svgs, then I use svgr from the command line to generate a folder of React components, one for each svg file, then I import these in the app.