Skip to content

ComponentHKT

Defined in: packages/core/src/components/types.ts:15

Higher-kinded type interface for framework-specific component constructors.

Frameworks implement this to map a props type to their component type.

interface ReactHKT extends ComponentHKT {
component: React.ComponentType<this['_props']>;
}

readonly _extra: Record<string, unknown>

Defined in: packages/core/src/components/types.ts:17


readonly _props: unknown

Defined in: packages/core/src/components/types.ts:16


readonly component: unknown

Defined in: packages/core/src/components/types.ts:18