FeatureIcon
To implement FeatureIcon component into your project you’ll need to add the import:
import FeatureIcon from "@kiwicom/orbit-components/lib/FeatureIcon";
After adding import into your project you can use it simply like:
<FeatureIcon name="TicketFlexi" />
Props
Table below contains all types of the props available in the FeatureIcon component.
| Name | Type | Default | Description | 
|---|---|---|---|
| alt | string | "" | Optional property for passing own altattribute to the DOM image element. | 
| dataTest | string | Optional prop for testing purposes. | |
| id | string | Set idforFeatureIcon | |
| name | enum | The name for the displayed feature icon. | 
enum
| name | 
|---|
| "TicketFlexi" | 
| "TicketSaver" | 
| "TicketStandard" |