@tripian/react 4.3.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripian/react",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "Tripian Inc React Components",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import Model, { Providers } from '@tripian/model';
3
+ interface IBbAccommodationInfo {
4
+ checkIn: string;
5
+ checkOut: string;
6
+ adults: number;
7
+ children: number;
8
+ hotelOffer: Providers.Bb.SearchAccommodationHotelOffer;
9
+ onBookNow: (url: string) => void;
10
+ onAddToItinerary: (accommodation: Model.Accommodation) => void;
11
+ close: () => void;
12
+ }
13
+ declare const BbAccommodationInfo: React.FC<IBbAccommodationInfo>;
14
+ export default BbAccommodationInfo;
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import { Providers } from '@tripian/model';
3
- interface IBbAccommodationInfoWindow {
4
- checkIn: string;
5
- checkOut: string;
6
- adults: number;
7
- children: number;
8
- hotelOffer: Providers.Bb.SearchAccommodationHotelOffer;
9
- onBookNow: (roomOffer: Providers.Bb.SearchAccommodationRoomOffer, url: string) => void;
10
- close: () => void;
3
+ interface IBbAccommodationInfo {
4
+ checkIn: string;
5
+ checkOut: string;
6
+ adults: number;
7
+ children: number;
8
+ hotelOffer: Providers.Bb.SearchAccommodationHotelOffer;
9
+ onBookNow: (roomOffer: Providers.Bb.SearchAccommodationRoomOffer, url: string) => void;
10
+ close: () => void;
11
11
  }
12
- declare const BbAccommodationInfoWindow: React.FC<IBbAccommodationInfoWindow>;
13
- export default BbAccommodationInfoWindow;
12
+ declare const BbAccommodationInfo: React.FC<IBbAccommodationInfo>;
13
+ export default BbAccommodationInfo;