Skip to content

Commit 5317d1a

Browse files
Update packages/docusaurus-theme/changelogs/upcoming/9317.md
Co-authored-by: Arturo Castillo Delgado <arturo@arturu.com>
1 parent ace6b64 commit 5317d1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/docusaurus-theme/changelogs/upcoming
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
- Added `extraFiles` prop to the `Demo` component. It allows to pass extra files that will be added to the Codesandbox instance.
2-
- Updated the `IMPORT_REGEX` to include relative imports so that all imports are removed from the snippet. All references have to be provided through `Demo` prop called `scope`.
2+
- Updated the `IMPORT_REGEX` to include relative imports so that all imports are removed from the snippet. All imported references have to be passed to `Demo` in the `scope` prop.

0 commit comments

Comments
 (0)