diff --git a/packages/react/src/App.tsx b/packages/react/src/App.tsx index d039fce..288aed2 100644 --- a/packages/react/src/App.tsx +++ b/packages/react/src/App.tsx @@ -27,20 +27,24 @@ import ComponentsCheckbox, { import ComponentsDialog, { tableOfContents as componentsDialogToc, } from "./docs/components/Dialog.mdx"; +import { forwardRef } from "react"; const overrideComponents = { - pre: (props: any) =>
,
-  code: (props: any) => (
+  pre: forwardRef((props: any, ref) => (
+    
+  )),
+  code: forwardRef((props: any, ref) => (
     
-  ),
-  table: (props: any) => (
+  )),
+  table: forwardRef((props: any, ref) => (
     
- +
- ), + )), }; const router = createBrowserRouter(