Declares a prop that can hold a numeric value.
Note that this value cannot be dynamic. If you want a dynamic value, use a DynamicProperty.
{ numberOfTicks: props.Number({ label: 'Number of Ticks', defaultValue: 5, })} Copy
{ numberOfTicks: props.Number({ label: 'Number of Ticks', defaultValue: 5, })}
Declares a prop that can hold a numeric value.
Note that this value cannot be dynamic. If you want a dynamic value, use a DynamicProperty.