Rótulo
Para exibir qualquer texto ou string, usamos o componente, rótulo.
O componente de rótulo na IU representa um html <label/>
.
Veja abaixo um exemplo de adição de rótulo estático
const staticLabelJSON = {
"component": "label", //tells the component name
"label": "This is an example label", // the string to be displayed
}
Abaixo do JSON é exibida uma string dinâmica:
const labelJSON = {
"component": "label", //tells the component name
"label": "@name", // the variable storing the text to be displayed
},
O rótulo renderizado terá esta aparência:
recommendation-more-help
11125c99-e1a1-4369-b5d7-fb3098b9b178