Skip to main content


type ComponentPropertyDefinitions = {
[propertyName: string]: {
type: ComponentPropertyType
defaultValue: string | boolean
variantOptions?: string[]

A map of component property definitions that exist on a component or component set node. Each definition in the map must have a type matching ComponentPropertyType. defaultValue represents the value that instances will initially have for that property. 'VARIANT' properties also have variantOptions, a list of possible values for that variant property.