react-live swizzle assumes "eject" option was selected #7735
Labels
documentation
The issue is related to the documentation of Docusaurus
status: accepting pr
This issue has been accepted, and we are looking for community contributors to implement this
Have you read the Contributing Guidelines on issues?
Description
https://docusaurus.io/docs/markdown-features/code-blocks#imports
The current command snippet is
On first run:
Comparing the generated code to the code snippet that follows, the docs assume that the user chooses to "Eject" rather than "Wrap".
To avoid confusion, the command snippets should include the flag to eject by default:
Note: The unsafe warning can be suppressed with
but it may make more sense to add a warning.
Self-service
The text was updated successfully, but these errors were encountered: