@kiwicom/react-native-app-hotels
```js import { HotelsStandalonePackage } from '@kiwicom/react-native-app-hotels';
Last updated 2 years ago by tbergq .
Original npm · Tarball · package.json
$ cnpm install @kiwicom/react-native-app-hotels 
SYNC missed versions from official npm registry.
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.

Current Tags

  • 0.0.24                                ...           latest (2 years ago)

24 Versions

  • 0.0.24                                ...           2 years ago
  • 0.0.23                                ...           2 years ago
  • 0.0.22                                ...           2 years ago
  • 0.0.21                                ...           3 years ago
  • 0.0.20                                ...           3 years ago
  • 0.0.19                                ...           3 years ago
  • 0.0.18                                ...           3 years ago
  • 0.0.17                                ...           3 years ago
  • 0.0.16                                ...           3 years ago
  • 0.0.15                                ...           3 years ago
  • 0.0.14                                ...           3 years ago
  • 0.0.13                                ...           3 years ago
  • 0.0.12                                ...           3 years ago
  • 0.0.11                                ...           3 years ago
  • 0.0.10                                ...           3 years ago
  • 0.0.9                                ...           3 years ago
  • 0.0.8                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |