Closed PAdventures closed 2 weeks ago
Please try the v4 alpha version and reference the Docusaurus link on the readme (https://stackblitz.com/github/skyra-project/discord-components-implementations/tree/main/templates/react-docusaurus-ts). As can be seen on the Stackblitz, it does work there. That said, you should render them from custom .tsx
files and include those in your MDX files because Docusaurus doesn't properly process the components when inlined.
Please try the v4 alpha version and reference the Docusaurus link on the readme (https://stackblitz.com/github/skyra-project/discord-components-implementations/tree/main/templates/react-docusaurus-ts). As can be seen on the Stackblitz, it does work there. That said, you should render them from custom
.tsx
files and include those in your MDX files because Docusaurus doesn't properly process the components when inlined.
It looks like your suggestion is working and using the .tsx
file to render the components. Sorry if I caused too much trouble.
No trouble at all! V4 in particular isn't very clear of being a thing. I'm working on processing the remainder issues and then I want to release it to stable.
Is there an existing issue for this?
Description of the bug
Using an MDX file trying to render a discord message that replies to another message. The DiscordReply is located inside a DiscordMessage and it is not rendered at all.
Steps To Reproduce
<DiscordMessages style={{ borderRadius: 6 }}>