Skip to content

FieldControlProps

Defined in: inspector-runtime-types.ts:227

Describe the props accepted by the generic FieldControl renderer.

optional components?: InspectorComponentMap

Defined in: inspector-runtime-types.ts:228


field: EditorFieldDescriptor

Defined in: inspector-runtime-types.ts:229


optional help?: ReactNode

Defined in: inspector-runtime-types.ts:230


optional label?: ReactNode

Defined in: inspector-runtime-types.ts:231


optional max?: number

Defined in: inspector-runtime-types.ts:232


optional min?: number

Defined in: inspector-runtime-types.ts:233


onChange: (value) => void

Defined in: inspector-runtime-types.ts:234

unknown

void


optional options?: readonly InspectorSelectOption[]

Defined in: inspector-runtime-types.ts:235


optional render?: (context) => ReactNode

Defined in: inspector-runtime-types.ts:236

FieldControlRenderContext

ReactNode


optional renderUnsupported?: (context) => ReactNode

Defined in: inspector-runtime-types.ts:237

FieldControlRenderContext

ReactNode


optional step?: number

Defined in: inspector-runtime-types.ts:238


value: unknown

Defined in: inspector-runtime-types.ts:239