This package has been deprecated

Author message:

Not maintained

@kiwicom/react-native-app-hotels

0.0.24 • Public • Published
import { HotelsStandalonePackage } from '@kiwicom/react-native-app-hotels';

const render = () => <HotelsStandalonePackage
  bookingComAffiliate="123456"
  language="en"
  currency="EUR"
  onBackClicked={() => goToHomepage()}
  dataSaverEnabled={false}

  // coordinates of the user's location or `null`
  coordinates={{
    latitude: 51.5,
    longitude: 0,
  }}
   // checkin and checkout are optional props, pass with format "YYYY-MM-DD"
  checkin="2018-12-01"
  checkout="2018-12-05"
/>

This package is exported with name KiwiHotels into native code.

import { SingleHotelStandAlonePackage } from '@kiwicom/react-native-app-hotels';

const roomsConfiguration = [{ 
  adultsCount: 1, 
  children: [{ age: 1}],
}];

const render = () => <SingleHotelStandAlonePackage
  bookingComAffiliate="123456"
  language="en"
  currency="EUR"
  onBackClicked={() => goToHomepage()}
  dataSaverEnabled={false}
  checkin="2018-05-01"
  checkout="2018-05-05" 
  roomsConfiguration={roomsConfiguration}
  hotelId="fq34rffa3="
/>

This package is exported with name SingleHotel into native code.

Readme

Keywords

none

Package Sidebar

Install

npm i @kiwicom/react-native-app-hotels

Weekly Downloads

49

Version

0.0.24

License

none

Unpacked Size

6.93 MB

Total Files

34

Last publish

Collaborators

  • mvidalgarcia
  • dsil
  • jakubzaba
  • robincsl_kiwi
  • kiwicom.platform
  • dinodsaurus