跳到內容

Invalid component arguments.

本頁內容尚未翻譯。

Example error messages:
InvalidComponentArgs: Invalid arguments passed to <MyAstroComponent> component.

Astro components cannot be rendered manually via a function call, such as Component() or {items.map(Component)}. Prefer the component syntax <Component /> or {items.map(item => <Component {...item} />)}.