Interface RenderableComponent<TProps>

Represents a component that can be rendered dynamically in Vue with associated props and a unique key.

interface RenderableComponent<TProps> {
    component: Component;
    props: TProps;
    key: string | number;
}

Type Parameters

  • TProps extends Record<string, unknown> = Record<string, unknown>

Properties

Properties

component: Component

The Vue component definition

props: TProps

Props to pass to the component

key: string | number

Unique key for Vue's reconciliation