Skip to content
HomePagesHomePages template kit

IslandComponent

A client component's own prop type is the author's business — island props are validated at runtime (serializeIslandProps), not through this alias, and a narrower type here would reject every real component through parameter contravariance.

A client component’s own prop type is the author’s business — island props are validated at runtime (serializeIslandProps), not through this alias, and a narrower type here would reject every real component through parameter contravariance.

Import from @homepages/template-kit or @homepages/template-kit/island-runtime.

export type IslandComponent = ComponentType<any>;