Location
Location Section on hostel pages
Props:
Prop Name | Type | Is Required | Default Value | Description |
---|---|---|---|---|
title | string | optional | none | Passes hostel name to the map component |
streetAddress | string | required | none | Passes Street Address to the map component |
latitude | number | required | none | Passes Lat to the map component |
longitude | number | required | none | Passes long to the map component |
thingsNearBy | array | required | none | Passes Lat to the map component |
city | string | required | none | Add the city name to the map component |
phone | string | required | none | Pass the phone number for the location |
emailAddress | string | required | none | Pass the email for the location |
mapScreenShot | object | required | none | Pass the Screen shot for the map for the location . This will lazly load the image first |