Open denny64 opened 5 years ago
How do I specify the modal router in this type of structure?
const routes = [ { component: Root, routes: [ { path: "/", exact: true, component: Home }, { path: "/child/:id", component: Child, routes: [ { path: "/child/:id/grand-child", component: GrandChild } ] } ] } ];
How do I specify the modal router in this type of structure?