diff --git a/packages/react/src/App.tsx b/packages/react/src/App.tsx index 34dc728..10d0df7 100644 --- a/packages/react/src/App.tsx +++ b/packages/react/src/App.tsx @@ -9,12 +9,21 @@ import MainLayout from "./MainLayout"; import Home from "./Home"; import DocsLayout from "./DocsLayout"; import ErrorBoundary from "./ErrorHandler"; +import DynamicLayout from "./DynamicLayout"; -import DocsIntroduction from "./docs/docs/introduction.mdx"; -import DocsInstallation from "./docs/docs/installation.mdx"; +import DocsIntroduction, { + tableOfContents as docsIntroductionToc, +} from "./docs/docs/introduction.mdx"; +import DocsInstallation, { + tableOfContents as docsInstallationToc, +} from "./docs/docs/installation.mdx"; -import ComponentsButton from "./docs/components/Button.mdx"; -import ComponentsCheckbox from "./docs/components/Checkbox.mdx"; +import ComponentsButton, { + tableOfContents as componentsButtonToc, +} from "./docs/components/Button.mdx"; +import ComponentsCheckbox, { + tableOfContents as componentsCheckboxToc, +} from "./docs/components/Checkbox.mdx"; const overrideComponents = { pre: (props: any) =>
,
@@ -36,17 +45,40 @@ const router = createBrowserRouter(
     } errorElement={}>
       } />
       }>
-        } />
-        } />
+        
+              
+            
+          }
+        />
+        
+              
+            
+          }
+        />
         
            redirect("/docs/components/button")} />
           }
+            element={
+              
+                
+              
+            }
           />
           }
+            element={
+              
+                
+              
+            }
+          />
           />