Declares a prop that can hold a string value.
Note that this value cannot be translated. If you want a translatable value, use a DynamicProperty instead.
{ text: props.String({ label: 'Text', defaultValue: 'My Text', optional: true, })} Copy
{ text: props.String({ label: 'Text', defaultValue: 'My Text', optional: true, })}
Declares a prop that can hold a string value.
Note that this value cannot be translated. If you want a translatable value, use a DynamicProperty instead.