Number
Adds a Number input in the Makeswift builder to visually edit a number
prop.
A Number panel on a Feed component to set the number of items shown
Params
Text for the panel label in the Makeswift builder.
Orientation of the number label within the panel.
The value passed to your component when nothing is set in the Makeswift builder.
The smallest number that can be set in the panel input.
The largest number that can be set in the panel input.
The increment amount when using the ↑ ↓ arrows or dragging the panel input.
Decorative text appended to the end of the panel input.
Prop type
The Number control passes a number
to your component. If you don’t set a defaultValue
and no value is set in the builder, your component receives undefined
.
Example
.makeswift.ts
is a naming convention for organizing Makeswift registration
code. Learn
more.