Text
Text component shows text in snippet.
{
"id": "service-intro-text",
"type": "text",
"text": "Hi! It's Channel Talk :)",
"style": "paragraph",
"align": "center",
"color": "default"
}
Property | Type | Example | Description | Required |
---|---|---|---|---|
id | string | service-intro-text | ID of component. ID should be unique in snippet. | true |
type | string | text | Type of component. use text | true |
text | string | Hi! It's Channel Talk :) | The text which will rendered in snippet. | true |
style | string | paragraph | Style of text. "h1", "h2", "paragraph" allowed. Default is "paragraph" | false |
align | string | left | Align of text. "center", "left" allowed. Default is "left" | false |
color | string | default | Color of text. "default", "muted", "success", "highlighted", "warning" allowed. Default is "default" | false |
Updated about 1 year ago