How to use h1 text
Here’s an example code regarding the use of h1 text:
dashboard "Example":
-
h1 text: "Lorem ipsum dolor sit amet"
The code above will render a h1 text that looks like this:
JSON format
The YAML above is equivalent to this JSON:
{
"component": "root",
"args": {
"title": "Example"
},
"data": [
{
"component": "text",
"args": {
"tagName": "h1"
},
"data": "Lorem ipsum dolor sit amet"
}
]
}