CarrierLogo

import CarrierLogo from "@kiwicom/orbit-components/lib/CarrierLogo";
<CarrierLogo carriers={Carrier} />

Props

NameTypeDefaultDescription
carriersCarrier[]The content of the CarrierLogo, passed as array of objects.
dataTeststringOptional prop for testing purposes.
idstringSet id for CarrierLogo.
sizeenum"large"The size of the CarrierLogo. See Functional specs.
roundedbooleanRounded carrier image.
inlineStackedbooleanCarrier logos are displayed inline, stacking on top of each other.
ariaHiddenbooleanfalseHide the CarrierLogo from screen readers. Can be used if the logo is used with the name of the Carrier next to it.

Carrier

NameTypeDescription
codestringThe IATA code of the Carrier, defines which logo will be rendered.
namestringThe name of the Carrier, used for alt and title attributes.
typeenumThe preferred placeholder for non-existing carrier. See Functional specs

enum

sizetype (Carrier)
"small""airline"
"medium""bus"
"large""train"
"ferry"
"private_transfer"
"kiwicom"

Functional specs