How to use h2 text
Here’s an example code regarding the use of h2 text:
dashboard "Example":
-
h2 text: "Lorem ipsum dolor sit amet"
The code above will render a h2 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": "h2"
},
"data": "Lorem ipsum dolor sit amet"
}
]
}