Font Field
type: "font"
A select of the fonts installed on the PC running MoBro. MoBro serves the selected font to the dashboard, so it doesn't have to be installed on the device displaying the dashboard.
Additional Properties
| Property | Type | Description |
|---|---|---|
| defaultValue | string | The name of the default font. |
Example
mobro-widget-config.json
{
"config": [
{
"name": "font",
"label": "Font",
"type": "font"
}
]
}
Usage
To read the value of this field in a widget, use
useFontField.