Create a property whose type is component

If you want to create a property with a type like “Ref<xy>” you have to pass the type as a string like this:

comp.createProperty('Ref<Component>', 'Component')

 

1 Like