ComponentOf
tipo
The original renderable module for a registered component, including its public exports.
ts
import type { ComponentOf } from "@meekojs/meeko";Source code src/app/definitions/component-registry.ts:28
Declaración #
ts
type ComponentOf<Name extends ComponentName> = ComponentRegistry[Name]Type parameters #
-
Nameextends ComponentName
Example #
ts
type ButtonModule = ComponentOf<"Button">;