Skip to content

ComponentOverrideInput

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

One entry in an override chain (field.input, field.cell, field.label, field.description, and the root per-type fields.<type>.{Input,Cell} lists) — the Sanity renderDefault model (S3). Order in the array IS the composition order; there is no before/after for overrides (S8).

TComponent extends ComponentHKT

The framework’s ComponentHKT.

TProps

The props the slot’s resolved component receives — the override’s OWN component receives TProps & { renderDefault: ApplyComponent<TComponent, TProps> }, composed by the renderer (@vexcms/react’s resolveFieldInputComponent/resolveFieldCellComponent); core only declares the minimal { id, component } shape (S8).

component: ApplyComponent<TComponent, TProps & object>

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

Receives renderDefault — the PREVIOUS stage of the chain (the true built-in for the first entry). Calling it renders the default; not calling it replaces it entirely.


id: string

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

Stable identifier (S2/S9). Duplicate ids within one resolved chain are a VexComponentConfigError.