
Params
Text for the panel label in the Makeswift Visual Builder.
The description shown in the Panel of the Makeswift builder. This can be written in Markdown format.
Added in
v0.24.8.A boolean to determine whether
fontStyle and fontWeight are included in
the final value. This value changes what panel inputs are shown in the
Makeswift builder, and changes the type of defaultValue.The default value passed to your component when no value is available. This object includes three properties:
fontFamily-stringfontStyle-"normal" | "italic"fontWeight-number
Without defaultValue the data passed to your component is optional.
Example
Prop type
TheFont control passes an object with the following properties: