FieldControlProps
Defined in: inspector-runtime-types.ts:227
Describe the props accepted by the generic FieldControl renderer.
Properties
Section titled “Properties”components?
Section titled “components?”
optionalcomponents?:InspectorComponentMap
Defined in: inspector-runtime-types.ts:228
field:
EditorFieldDescriptor
Defined in: inspector-runtime-types.ts:229
optionalhelp?:ReactNode
Defined in: inspector-runtime-types.ts:230
label?
Section titled “label?”
optionallabel?:ReactNode
Defined in: inspector-runtime-types.ts:231
optionalmax?:number
Defined in: inspector-runtime-types.ts:232
optionalmin?:number
Defined in: inspector-runtime-types.ts:233
onChange
Section titled “onChange”onChange: (
value) =>void
Defined in: inspector-runtime-types.ts:234
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”void
options?
Section titled “options?”
optionaloptions?: readonlyInspectorSelectOption[]
Defined in: inspector-runtime-types.ts:235
render?
Section titled “render?”
optionalrender?: (context) =>ReactNode
Defined in: inspector-runtime-types.ts:236
Parameters
Section titled “Parameters”context
Section titled “context”Returns
Section titled “Returns”ReactNode
renderUnsupported?
Section titled “renderUnsupported?”
optionalrenderUnsupported?: (context) =>ReactNode
Defined in: inspector-runtime-types.ts:237
Parameters
Section titled “Parameters”context
Section titled “context”Returns
Section titled “Returns”ReactNode
optionalstep?:number
Defined in: inspector-runtime-types.ts:238
value:
unknown
Defined in: inspector-runtime-types.ts:239