Seat

Seat

import Seat, { SeatLegend } from "@kiwicom/orbit-components/lib/Seat";
<Seat />

Props

NameTypeDefaultDescription
dataTeststringOptional prop for testing purposes.
idstringSet id for Seat
sizeenummediumSize of Seat component.
typeenumdefaultVisual type of Seat
pricestringPrice of Seat
labelstringLabel text inside of a Seat
titlestringSeatOptional prop for title of svg element
descriptionstringPresents options for seatingOptional prop for Description of svg element
onClick() => void \| PromiseFunction for handling onClick event.

SeatLegend

NameTypeDefaultDescription
dataTeststringOptional prop for testing purposes.
typeenumdefaultVisual type of SeatLegend
labelstringLabel text inside of a SeatLegend

enum

sizetype
"small""default"
"medium""legroom"
"unavailable"