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.
Signature
Section titled “Signature”export type IslandComponent = ComponentType<any>;See also
Section titled “See also”deserializeIslandPropsislandIdserializeIslandPropsATTR_ISLAND_FRAMELESSATTR_ISLAND_IDATTR_ISLAND_KEYATTR_ISLAND_PROPSEDITOR_BRIDGE_PROPEDITOR_BRIDGE_PROTOCOLISLAND_CAPTURE_HOLDS_GLOBALISLAND_ELEMENTIslandPropsErrorEditorBridgeIslandEditorIslandModuleEditorBridgeSelectionEditorSelectionIslandEditorOptionsIslandPropsIslandServerFrame