npm install sling-web-component-icon
<sling-icon></sling-icon>
- sling-assets
- sling-framework
- sling-helpers
Name | Type | Default Values | ReflectToAttribute | Observer | callSdk |
---|---|---|---|---|---|
icon | String | ✔️ |
Name | Description |
---|---|
icon | Defines the icon that will be used, currently can be success , danger , close , warning , info
|
This component does not emit events.
All component examples can be emulated using the npm start sling-web-component-icon
command.
<sling-icon icon="success"></sling-icon>
<sling-icon icon="danger"></sling-icon>