Passenger types
Props
Name | Type | Default | Description |
---|
passengerTypes | PassengerType[] | | Array of supported passenger types. |
Usage
<PassengerTypes
passengerTypes={[
PassengerType.Vehicle,
PassengerType.Foot
]}
/>
Items will always be in the same order
<PassengerTypes
passengerTypes={[
PassengerType.Foot,
PassengerType.Vehicle
]}
/>
Single type
<PassengerTypes passengerTypes={[ PassengerType.Foot ]} />