Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
__tests__
Illustration.stories.js
README.md
consts.js
index.js
index.js.flow

README.md

Illustration

To implement Illustration component into your project you'll need to add the import:

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

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

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

Props

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

Name Type Default Description
dataTest string Optional prop for testing purposes.
name enum Name for the displayed illustration.
size enum "medium" The size of the Illustration.
spaceAfter enum Additional margin-bottom after component. See this docs

enum

name size
"Accommodation" "small"
"AirHelp" "medium"
"AirportTransport"
"AirportTransportTaxi"
"AirportShuttle"
"BaggageDrop"
"Boarding"
"BoardingPass"
"BusinessTravel"
"CabinBaggage"
"DesktopSearch"
"EnjoyApp"
"Error"
"FastTrack"
"Feedback"
"Help"
"Improve"
"Insurance"
"InviteAFriend"
"Login"
"Lounge"
"Mailbox"
"Meal"
"MobileApp"
"Money"
"MusicalInstruments"
"NetVerify"
"NoBookings"
"NoFavoriteFlights"
"Nomad"
"NoNotification"
"NoResults"
"Offline"
"OnlineCheckIn"
"OpenSearch"
"Parking"
"Pets"
"PlaceholderAirport"
"PlaceholderDestination"
"PlaceholderHotel"
"PlaceholderTours"
"PlaneAndMoney"
"PriorityBoarding"
"Rating"
"ReferAFriend"
"RentalCar"
"Seating"
"SpecialAssistance"
"SportsEquipment"
"Success"
"Time"
"TimelineBoarding"
"TimelineDropBaggage"
"TimelineLeave"
"TimelinePick"
"Tours"
"Train"
"TransportBus"
"TransportTaxi"
You can’t perform that action at this time.