Skip to main content

Interface: RenderComponentType

Defined in: types/index.ts:55

Represents a renderable component with all its configuration and children. This is the core type used throughout the render system.

RenderComponentType

Properties

id

id: string

Defined in: types/index.ts:56

Unique identifier for this component instance


type

type: string

Defined in: types/index.ts:57

The component type name (must be registered in components)


props

props: AnyObject & object

Defined in: types/index.ts:58

Component props including optional zIndex

Type Declaration

zIndex?

optional zIndex: number


_canvasProps?

optional _canvasProps: AnyObject

Defined in: types/index.ts:59

Optional drag-and-drop configuration for canvas interactions


children

children: string[]

Defined in: types/index.ts:60

Array of child component IDs


childComponents

childComponents: ChildComponents

Defined in: types/index.ts:61

Map of child components by their IDs


dataProps?

optional dataProps: Partial<Record<string, DataProp>>

Defined in: types/index.ts:62

Optional data property bindings


actionProps?

optional actionProps: Partial<Record<string, ActionProps>>

Defined in: types/index.ts:63

Optional action property configurations


refProps?

optional refProps: Partial<Record<string, string>>

Defined in: types/index.ts:64