WeaverseComponentSchema is an
alias of this type.
Only inspector (use settings) and enabledOn (use enabled) are
deprecated. enabled controls insertion availability only: a type listed in
another component’s childTypes appears in the root Add Section picker only
when its enabledOn.groups contains 'body' or '*', so keep that field on
components used both as a section and as a child.
Properties
Whether the component can be inserted in the current page context.
Type:
PageTypeLegacy page and placement availability restrictions.Type:
InspectorGroupLegacy setting groups shown in Studio.Type:
InspectorGroupSetting groups shown in the Studio inspector.Methods
label()
title.
Parameters
Returns
string | null | undefined