An icon component which accepts an svg string and renders it.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
icon |
string |
✅ | - | Icon |
size |
Size1 |
✅ | - | Size |
variant |
IconVariant |
✅ | - | Icon variant |
<!-- component.html -->
<rtk-icon></rtk-icon><!-- component.html -->
<rtk-icon
icon="example"
size="md"
variant="primary">
</rtk-icon>