IllustrationPrimitive

IllustrationPrimitive

import IllustrationPrimitive from "@kiwicom/orbit-components/lib/primitives/IllustrationPrimitive";
<IllustrationPrimitive name="Accommodation" size="small" />

Usage

Props

NameTypeDefaultDescription
altstringOptional property for passing own alt attribute to the DOM image element. By default, the name of illustration is used.
dataTeststringOptional prop for testing purposes.
idstringSet id for IllustrationPrimitive
namestringName for the displayed illustrationPrimitive.
sizeenum"medium"The size of the IllustrationPrimitive.
marginstring \| number \| ObjectUtility property to set margin.

enum

size
"extraSmall"
"small"
"medium"
"large"
"display"