Multiple apps with one codebase in React

I have seen a few older posts on this topic, but nothing very recent. I have an Ionic React project that needs to be able to switch out branding and logos, and publish using different App names. For example I have my root App1, and can build and publish App2 from it while switching out colors and logos.

I want this to be in a single shared codebase, and have seen some posts referencing a ‘multi-app’ project, but that it has issues with React. I’m hoping to hear from some people who have solved for this problem before, or ideas about how to handle it.