README
sling-web-component-icon
Install
npm install sling-web-component-icon
Tag
<sling-icon></sling-icon>
Dependencies
- sling-assets
- sling-framework
- sling-helpers
Attributes and properties
Name | Type | Default Values | ReflectToAttribute | Observer | callSdk |
---|---|---|---|---|---|
icon | String | :heavy_check_mark: |
Description
Name | Description |
---|---|
icon | Defines the icon that will be used, currently can be success , danger , close , warning , info |
Events
This component does not emit events.
Examples
All component examples can be emulated using the npm start sling-web-component-icon
command.
Usage
<sling-icon icon="success"></sling-icon>
<sling-icon icon="danger"></sling-icon>