You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://codesandbox.io/embed/polished-surf-t6ro9?fontsize=14&hidenavigation=1&theme=dark)
23
-
24
22
### In React 18
25
23
24
+
[](https://codesandbox.io/embed/uiw-react-code-preview-react-18-1bmhhd?fontsize=14&hidenavigation=1&theme=dark)
25
+
26
26
```jsx
27
27
importButtonfrom'@uiw/react-button';
28
28
importCodePreviewfrom'@uiw/react-code-preview';
@@ -45,6 +45,8 @@ export default function App() {
45
45
46
46
### In React 17
47
47
48
+
[](https://codesandbox.io/embed/uiw-react-code-preview-react-17-t6ro9?fontsize=14&hidenavigation=1&theme=dark)
0 commit comments