If I have the following:
{ /* Routes that use layout 1 */ }
Here's a great way to use multiple layouts with different React components.
In your router you can use:
Source: https://sergiotapia.me/different-layouts-with-react-router-71c553dbe01d