Can't swizzle Admonition #7478
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
domain: markdown
Related to Markdown parsing or syntax
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Hello I'm using trying to replace completely the component of
Admonition
because I would like to use my design system to replace these components. I'm using the commandswizzle
to eject/wrap the component in order to replace it, but it seems that it's not making any change.Reproducible demo
https://codesandbox.io/s/priceless-dream-tovkeh?file=/src/theme/Admonition/index.js
Steps to reproduce
yarn swizzle
and select Admonition to be ejected.Expected behavior
The content of the Admonition should be the one return by the ejected component.
Actual behavior
Changes on the ejected component are ignored.
Your environment
Self-service
The text was updated successfully, but these errors were encountered: