AirportIllustration

Communicates information about specific airports in an interesting visual way.

To implement AirportIllustration component into your project you’ll need to add the import:

import AirportIllustration from "@kiwicom/orbit-components/lib/AirportIllustration";

After adding import into your project you can use it simply like:

<AirportIllustration name="Accommodation" size="small" />

Table below contains all types of the props available in AirportIllustration component.

NameTypeDefaultDescription
altstringOptional property for passing own alt attribute to the DOM image element. Bby default, the name of illustration is used.
dataTeststringOptional prop for testing purposes.
nameenumName for the displayed Airportillustration.
sizeenum"medium"The size of the AirportIllustration.
spaceAfterenumAdditional margin-bottom after component. See this docs
namesize
"BGYFastTrack""extraSmall"
"BUDFastTrack""small"
"MRSSmartPass""medium"
"NCEFastTrack""large"
"PRGSmartPass""displays"
"VCESmartPass"