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 | "" | Defines the alt attribute for the image. Default empty value ("" ) makes the icon decorative (not announced by screen readers). |
dataTest | string | Optional prop for testing purposes. | |
id | string | Set unique identifier for FeatureIcon | |
name | enum | The name for the displayed feature icon. |
enum
name |
---|
"TicketFlexi" |
"TicketSaver" |
"TicketStandard" |