Skip to main content

Params

string
default:"On click"
Text for the panel label in the Makeswift builder.
string
The description shown in the Panel of the Makeswift builder. This can be written in Markdown format. Added in v0.24.8.

Prop type

The Link control passes an object of type LinkValue to your component.
If no value is set in the builder, your component receives { href: '#' }.

Example

The following example adds an Link control to the link prop of a Button component.
.makeswift.ts is a naming convention for organizing Makeswift registration code. Learn more.