Adds a single-line Text Input panel in the Makeswift builder to visually edit a string
prop.
A Text Input panel for a Button component to change the text
Text for the panel label in the Makeswift builder.
The value passed to your component when nothing is set in the Makeswift builder.
The TextInput control passes a string
to your component. If you don’t set a defaultValue
and no value is set in the builder, your component receives undefined
.
The following example adds a Text Input control to the children
prop of a Link component.
.makeswift.ts
is a naming convention for organizing Makeswift registration
code. Learn
more.