Error codesComponents

A component passed as a prop is rendered as a tag

MARKLESS_COMPONENT_PROP_TAG_UNSUPPORTEDerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_COMPONENT_PROP_TAG_UNSUPPORTED: `<<tagName> />` in `<componentName>` renders the prop `<propName>`, and a component passed as a prop value cannot be rendered as a tag.
The compiler links every child component to the module it comes from at build time. A component that arrives as a prop value is only known when the page renders, so the build has no code to render it with.
Import the component in `<componentName>` and render it there, or have the caller place it inside `<<componentName>>` as children and render `{children}` instead of `<<tagName> />`.
https://markless.dev/errors/MARKLESS_COMPONENT_PROP_TAG_UNSUPPORTED

Words in angle brackets change from case to case.

Why

The compiler links every child component to the module it comes from at build time. A component that arrives as a prop value is only known when the page renders, so the build has no code to render it with.

Fix

Import the component in `<componentName>` and render it there, or have the caller place it inside `<<componentName>>` as children and render `{children}` instead of `<<tagName> />`.

Where Markless raises it

All error codes

Button sounds are from Josh Comeau's Button Sounds library.