Skip to content

FieldControlProps

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

Describe the props accepted by the generic FieldControl renderer.

optional components?: InspectorComponentMap

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


field: EditorFieldDescriptor

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


optional help?: ReactNode

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


optional label?: ReactNode

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


optional max?: number

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


optional min?: number

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


onChange: (value) => void

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

unknown

void


optional options?: readonly InspectorSelectOption[]

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


optional render?: (context) => ReactNode

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

FieldControlRenderContext

ReactNode


optional renderUnsupported?: (context) => ReactNode

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

FieldControlRenderContext

ReactNode


optional step?: number

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


value: unknown

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