No Results Found
<tk-sentiment-icon sentiment="positive"></tk-sentiment-icon>
<tk-sentiment-icon sentiment="negative"></tk-sentiment-icon>
<tk-sentiment-icon sentiment="unassigned"></tk-sentiment-icon>
Our sentiment icons take in three sentiments: positive
, negative
, or unassigned
(default). Note: these are quite distinct from the rest of our icons, and intentionally do not work with tk-icon
.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
sentiment |
sentiment |
Displays the correct SVG and fill color. | "negative" | "positive" | "unassigned" |
'unassigned' |
size |
size |
Sets the width and height of the SVG. When using a custom size, you can set the width and height CSS Properties. | "large" | "medium" | "small" |
'medium' |
Name | Description |
---|---|
--sentiment-icon-height |
The height of the icon when the size is custom . |
--sentiment-icon-width |
The width of the icon when the size is custom . |