Text

The text component has the following properties:
text
: the text. Can include a subset of markdown (bold, italic, and links).textSize
(optional): one ofS
,M
,L
, defaults toM
textColor
(optional): one ofNORMAL
,MUTED
,SUCCESS
,WARNING
,ERROR
, defaults toNORMAL
For example:
[
{
"componentText": {
"text": "The **quick** brown fox _jumps_ over the [lazy link](https://plain.com)"
}
},
{
"componentText": {
"text": "Small text",
"textSize": "S"
}
},
{
"componentText": {
"text": "Medium text",
"textSize": "M"
}
},
{
"componentText": {
"text": "Large text",
"textSize": "L"
}
},
{
"componentText": {
"text": "Normal text",
"textColor": "NORMAL"
}
},
{
"componentText": {
"text": "Muted text",
"textColor": "MUTED"
}
},
{
"componentText": {
"text": "Success text",
"textColor": "SUCCESS"
}
},
{
"componentText": {
"text": "Warning text",
"textColor": "WARNING"
}
},
{
"componentText": {
"text": "Error text",
"textColor": "ERROR"
}
}
]