Base Website Docs



Location Section on hostel pages


Prop NameTypeIs RequiredDefault ValueDescription
titlestringoptionalnonePasses hostel name to the map component
streetAddressstringrequirednonePasses Street Address to the map component
latitudenumberrequirednonePasses Lat to the map component
longitudenumberrequirednonePasses long to the map component
thingsNearByarrayrequirednonePasses Lat to the map component
citystringrequirednoneAdd the city name to the map component
phonestringrequirednonePass the phone number for the location
emailAddressstringrequirednonePass the email for the location
mapScreenShotobjectrequirednonePass the Screen shot for the map for the location . This will lazly load the image first