These were generating warnings in dev mode. Docusaurus uses MDX which converts the entire markdown into React components. As such, you need to use the same props.
The site works but I think that's just because React ultimately passes everything onto the DOM node now. Better to just do the "right" thing.
These were generating warnings in dev mode. Docusaurus uses MDX which converts the entire markdown into React components. As such, you need to use the same props.
The site works but I think that's just because React ultimately passes everything onto the DOM node now. Better to just do the "right" thing.
FWIW MDX does mention this in their docs: https://mdxjs.com/docs/what-is-mdx/#markdown-for-the-component-era