![javascript - How to style {Switch} component from react-router-dom? I tried wrapping it with <div> and does not work - Stack Overflow javascript - How to style {Switch} component from react-router-dom? I tried wrapping it with <div> and does not work - Stack Overflow](https://i.stack.imgur.com/4piCG.jpg)
javascript - How to style {Switch} component from react-router-dom? I tried wrapping it with <div> and does not work - Stack Overflow
![reactjs - Compiled with problems:X ERROR in ./src/route/AppRoute.js 12:37-43 export 'Switch' (imported as 'Switch') was not found in 'react- router' - Stack Overflow reactjs - Compiled with problems:X ERROR in ./src/route/AppRoute.js 12:37-43 export 'Switch' (imported as 'Switch') was not found in 'react- router' - Stack Overflow](https://i.stack.imgur.com/sgsWm.png)
reactjs - Compiled with problems:X ERROR in ./src/route/AppRoute.js 12:37-43 export 'Switch' (imported as 'Switch') was not found in 'react- router' - Stack Overflow
![No Match 404 route render on all routes: react-router-dom · Issue #7076 · remix-run/react-router · GitHub No Match 404 route render on all routes: react-router-dom · Issue #7076 · remix-run/react-router · GitHub](https://user-images.githubusercontent.com/4208015/71321839-67743080-24e5-11ea-9e18-c4a828fd23e6.gif)