Optional Object Property
Optionaldescription?: stringAn optional description that will be displayed below the property in the editor to help users understand the purpose of this property.
Human-readable label for this property. Will be used to represent this property in the UI.
The schema of the properties nested inside this object. Declare it just
like a top-level schema, using the same props.* helpers.
OptionaldefaultValue?: Values<Shape>The default value for this property. When omitted, the property defaults
to undefined and the object is disabled in the editor until it is
enabled explicitly.
Mark this as an optional value that can also take the value undefined.
Non-Optional Object Property
Optionaldescription?: stringAn optional description that will be displayed below the property in the editor to help users understand the purpose of this property.
Human-readable label for this property. Will be used to represent this property in the UI.
The schema of the properties nested inside this object. Declare it just
like a top-level schema, using the same props.* helpers.
OptionaldefaultValue?: Values<Shape>The default value for this property. When omitted, it is composed from the defaults of the nested props.
Mark this as an optional value that can also take the value undefined.
Declares a prop that groups a set of nested props into a single object value.
In the IDE the object is rendered as its own top-level group next to the other groups; an optional object also gets a checkbox to enable or disable it as a whole. Objects can also serve as structured list items.
For purely visual grouping of independent props, use
propsGroups(see createElement) instead.Example
Declaring an object property