Skip to content

Commit

Permalink
docs: swizzle react-live with eject (#7735)
Browse files Browse the repository at this point in the history
  • Loading branch information
SheetJSDev committed Jul 8, 2022
1 parent 2e83a1b commit b15fff1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -519,7 +519,7 @@ It is not possible to import components directly from the react-live code editor
By default, all React imports are available. If you need more imports available, swizzle the react-live scope:

```bash npm2yarn
npm run swizzle @docusaurus/theme-live-codeblock ReactLiveScope
npm run swizzle @docusaurus/theme-live-codeblock ReactLiveScope -- --eject
```

```jsx title="src/theme/ReactLiveScope/index.js"
Expand Down

0 comments on commit b15fff1

Please sign in to comment.