Interface ComponentRegistration<PropTypes>

Represents a component registration in a zone.

interface ComponentRegistration<PropTypes> {
    component: string | ComponentType<PropTypes>;
    id?: string;
    zone: string | string[];
    [componentProp: string]: any;
}

Type Parameters

  • PropTypes = any

Indexable

[componentProp: string]: any

Properties

Properties

component: string | ComponentType<PropTypes>

The React component or string registered component.

id?: string

The ID of the component.

zone: string | string[]

The zone(s) the component belongs to.