@tripian/react 9.1.9 → 9.1.12

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,12 +1,12 @@
1
1
  {
2
2
  "name": "@tripian/react",
3
- "version": "9.1.9",
3
+ "version": "9.1.12",
4
4
  "description": "Tripian Inc React Components",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {
8
8
  "@react-google-maps/api": "^2.12.0",
9
- "@tripian/model": "9.1.9",
9
+ "@tripian/model": "9.1.12",
10
10
  "external-svg-loader": "^1.6.1",
11
11
  "moment": "^2.24.0",
12
12
  "react": "^18.1.0",
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
- import { Providers } from '@tripian/model';
2
+ import Model, { Providers } from '@tripian/model';
3
3
  interface IViatorProductCard {
4
4
  product: Providers.Viator.Product;
5
5
  bodyClicked: (product: Providers.Viator.Product) => void;
6
+ t: (value: Model.TranslationKey) => string;
6
7
  }
7
8
  declare const ViatorProductCard: React.FC<IViatorProductCard>;
8
9
  export default ViatorProductCard;
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
- import { Providers } from '@tripian/model';
2
+ import Model, { Providers } from '@tripian/model';
3
3
  interface IViatorProductCardText {
4
4
  product: Providers.Viator.Product;
5
+ t: (value: Model.TranslationKey) => string;
5
6
  }
6
7
  declare const ViatorProductCardText: React.FC<IViatorProductCardText>;
7
8
  export default ViatorProductCardText;