Label
To display any text or string, we use the component, label.
The label component in JUI represents an html <label/>
.
Below is an example for adding a static label
const staticLabelJSON = {
"component": "label", //tells the component name
"label": "This is an example label", // the string to be displayed
}
Below JSON displays a dynamic string:
const labelJSON = {
"component": "label", //tells the component name
"label": "@name", // the variable storing the text to be displayed
},
The rendered label will look like this:
recommendation-more-help
11125c99-e1a1-4369-b5d7-fb3098b9b178