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.

Carrier

NameTypeDescription
codestringThe code of the Carrier, defines which logo will be rendered.
namestringThe name of the Carrier, mainly for information.
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