a component is written in its own file, never as an inline script
syntax/component-inline
Generated from the language definition for language 1.0.
Summary: a component is written in its own file, never as an inline script
Fix: point the component at its file with from "<path>.tsx"