@tripian/react 4.6.2 → 4.6.5
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/components/AccommendationCard/AccommendationCard.d.ts +8 -8
- package/components/AccommendationInfo/AccommendationInfo.d.ts +8 -8
- package/components/ButterflyCard/ButterflyCard.d.ts +16 -16
- package/components/ButterflyCard/CardImage/CardImage.d.ts +7 -7
- package/components/ButterflyCard/CardText/CardText.d.ts +8 -8
- package/components/ButterflyCardSlider/ButterflyCardSlider.d.ts +21 -21
- package/components/CardSlider/CardSlider.d.ts +7 -7
- package/components/CityInfo/CityInfo.d.ts +9 -9
- package/components/ConfirmModalPopup/ConfirmModalPopup.d.ts +13 -13
- package/components/DatePicker/DatePicker.d.ts +12 -12
- package/components/DateRangePicker/DateRangePicker.d.ts +14 -14
- package/components/DirectionInfo/DirectionInfo.d.ts +15 -14
- package/components/FlightCard/FlightCard.d.ts +12 -12
- package/components/FormTemplate/FormTemplateAgent/FormTemplateAgent.d.ts +10 -10
- package/components/FormTemplate/FormTemplateCompanion/FormTemplateCompanion.d.ts +9 -9
- package/components/FormTemplate/FormTemplateLogin/FormTemplateLogin.d.ts +10 -10
- package/components/FormTemplate/FormTemplateProfile/FormTemplateProfile.d.ts +11 -11
- package/components/FormTemplate/FormTemplateProfile/UserPasswordChange.d.ts +9 -9
- package/components/FormTemplate/FormTemplateRegister/FormTemplateRegister.d.ts +12 -12
- package/components/FormTemplate/FormTemplateTrip/FormTemplateTrip.d.ts +15 -15
- package/components/FormTemplate/FormTemplateTrip2/FormTemplateTrip2.d.ts +18 -18
- package/components/GoogleMaps/GMarker/Base/GMarkerCarRentBase/GMarkerCarRentBase.d.ts +12 -12
- package/components/GoogleMaps/GMarker/Base/GMarkerCarRentOfferBase/GMarkerCarRentOfferBase.d.ts +12 -12
- package/components/GoogleMaps/GMarker/Base/GMarkerOrder/GMarkerOrder.d.ts +11 -11
- package/components/GoogleMaps/GMarker/Base/GMarkerPoiBase/GMarkerPoiBase.d.ts +12 -12
- package/components/GoogleMaps/GMarker/Base/GMarkerProviderBase/GMarkerProviderBase.d.ts +12 -12
- package/components/GoogleMaps/GMarker/Base/GMarkerStepBase/GMarkerStepBase.d.ts +12 -12
- package/components/GoogleMaps/GMarker/Base/helper.d.ts +2 -2
- package/components/GoogleMaps/GMarker/GMarker.d.ts +13 -13
- package/components/GoogleMaps/GMarker/GMarkerCarRentOffer.d.ts +11 -11
- package/components/GoogleMaps/GMarker/GMarkerCarRentProduct.d.ts +12 -12
- package/components/GoogleMaps/GMarker/GMarkerProvider.d.ts +11 -11
- package/components/GoogleMaps/GPlacesAutocomplete/GPlacesAutocomplete.d.ts +11 -11
- package/components/GoogleMaps/GPlacesAutocomplete2/GPlacesAutocomplete2.d.ts +12 -12
- package/components/GoogleMaps/GRoute/GRoute.d.ts +10 -10
- package/components/GoogleMaps/GRoute/GRouteCalculate.d.ts +3 -3
- package/components/GoogleMaps/GRoute/GRouteRender.d.ts +11 -11
- package/components/GoogleMaps/GRoute/GRouteService.d.ts +9 -9
- package/components/GoogleMaps/GRoute/IRouteResult.d.ts +25 -25
- package/components/GoogleMaps/GoogleMaps.d.ts +41 -41
- package/components/GoogleMaps/helper.d.ts +2 -2
- package/components/GoogleMapsPoiInfo/GoogleMapsPoiInfo.d.ts +9 -9
- package/components/Label/Label.d.ts +7 -7
- package/components/Loading/Loading.d.ts +2 -2
- package/components/MustTryCard/MustTryCard.d.ts +9 -9
- package/components/PlanChangeDay/PlanChangeDay.d.ts +11 -11
- package/components/PoiCategories/PoiCategories.d.ts +9 -9
- package/components/PoiInfo/PoiInfo.d.ts +26 -26
- package/components/PoiInfo/PoiInfoImage/PoiInfoImage.d.ts +15 -15
- package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +12 -12
- package/components/PoiListCard/PoiListCard.d.ts +7 -7
- package/components/PoiListSearch/PoiListSearch.d.ts +8 -8
- package/components/PoiRefCard/PoiRefCard.d.ts +13 -13
- package/components/Price/Price.d.ts +7 -7
- package/components/QuestionTemplate/Context/QuestionContext.d.ts +8 -8
- package/components/QuestionTemplate/Context/QuestionContext2.d.ts +8 -8
- package/components/QuestionTemplate/Question/CheckBoxQuestion/CheckboxQuestion.d.ts +9 -9
- package/components/QuestionTemplate/Question/Question.d.ts +7 -7
- package/components/QuestionTemplate/Question/Question2.d.ts +7 -7
- package/components/QuestionTemplate/Question/RadioButtonQuestion/RadioButtonQuestion.d.ts +8 -8
- package/components/QuestionTemplate/Question/RadioButtonQuestion/RadioButtonQuestion2.d.ts +10 -10
- package/components/QuestionTemplate/QuestionTemplate.d.ts +10 -10
- package/components/QuestionTemplate/QuestionTemplate2.d.ts +10 -10
- package/components/RatingStars/RatingStars.d.ts +8 -8
- package/components/RefCard/RefCard.d.ts +11 -11
- package/components/SearchThisArea/SearchThisArea.d.ts +11 -11
- package/components/SortableStepListCard/SortableStepListCard.d.ts +9 -9
- package/components/StepAlternativeCard/StepAlternativeCard.d.ts +10 -10
- package/components/StepCard/StepCard.d.ts +16 -16
- package/components/StepCardUserReaction/StepCardUserReaction.d.ts +19 -19
- package/components/StepInfo/StepInfo.d.ts +22 -22
- package/components/StepTimeframe/StepTimeframe.d.ts +13 -13
- package/components/TasteCard/TasteCard.d.ts +8 -8
- package/components/TasteCard2/TasteCard2.d.ts +8 -8
- package/components/TasteCard2/TasteCard2Image/TasteCard2Image.d.ts +7 -7
- package/components/TasteCard2/TasteCard2Text/TasteCard2Text.d.ts +7 -7
- package/components/TasteInfo/MustTryPois/MustTryPois.d.ts +8 -8
- package/components/TasteInfo/TasteInfo.d.ts +11 -11
- package/components/TasteInfo/TasteInfoImage/TasteInfoImage.d.ts +9 -9
- package/components/TasteInfo/TasteInfoText/TasteInfoText.d.ts +7 -7
- package/components/ThumsDownReason/ThumsDownReason.d.ts +8 -8
- package/components/TourRefCard/TourRefCard.d.ts +8 -8
- package/components/TourRefCardProduct/TourRefCardProduct.d.ts +8 -8
- package/components/TripCard/TripCard.d.ts +10 -10
- package/components/UserCompanionSelection/UserCompanionSelection.d.ts +12 -12
- package/components/UserCompanions/UserCompanions.d.ts +12 -12
- package/components/base/Accordion/Accordion.d.ts +10 -10
- package/components/base/AutoCompleteSearchV1/AutoCompleteSearchV1.d.ts +12 -12
- package/components/base/Backdrop/Backdrop.d.ts +7 -7
- package/components/base/Button/Button.d.ts +19 -19
- package/components/base/Button/ButtonTypes.d.ts +6 -6
- package/components/base/Button/Icons/Add.d.ts +3 -3
- package/components/base/Button/Icons/Bars.d.ts +3 -3
- package/components/base/Button/Icons/Base.d.ts +4 -4
- package/components/base/Button/Icons/Bookings.d.ts +3 -3
- package/components/base/Button/Icons/Cancel.d.ts +3 -3
- package/components/base/Button/Icons/Check.d.ts +3 -3
- package/components/base/Button/Icons/CloseIconButton/CloseIconButton.d.ts +8 -8
- package/components/base/Button/Icons/Delete.d.ts +3 -3
- package/components/base/Button/Icons/Edit.d.ts +3 -3
- package/components/base/Button/Icons/FavoriteIconButton/FavoriteIconButton.d.ts +8 -8
- package/components/base/Button/Icons/Favorites.d.ts +3 -3
- package/components/base/Button/Icons/IButtonIcons.d.ts +14 -14
- package/components/base/Button/Icons/List.d.ts +3 -3
- package/components/base/Button/Icons/Remove.d.ts +3 -3
- package/components/base/Button/Icons/Replace.d.ts +3 -3
- package/components/base/Button/Icons/Save.d.ts +3 -3
- package/components/base/Button/Icons/Search.d.ts +3 -3
- package/components/base/Button/Icons/Uber.d.ts +3 -3
- package/components/base/Button/Icons/index.d.ts +17 -17
- package/components/base/Checkbox/Checkbox.d.ts +10 -10
- package/components/base/CheckboxTree/CheckboxTree.d.ts +13 -13
- package/components/base/Dropdown/Dropdown.d.ts +14 -14
- package/components/base/IconImage/IconImage.d.ts +6 -6
- package/components/base/Img/Img.d.ts +8 -8
- package/components/base/ImgLazy/ImgLazy.d.ts +13 -13
- package/components/base/ImgLazyBase/ImgLazyBase.d.ts +12 -12
- package/components/base/Modal/Modal.d.ts +12 -12
- package/components/base/ModalFull/ModalFull.d.ts +10 -10
- package/components/base/Notification/Notification.d.ts +12 -12
- package/components/base/NumberCounter/NumberCounter.d.ts +9 -9
- package/components/base/NumberInput/NumberInput.d.ts +10 -10
- package/components/base/PageLoading/PageLoading.d.ts +2 -2
- package/components/base/PreLoading/PreLoading.d.ts +8 -8
- package/components/base/ProgressAppLoading/ProgressAppLoading.d.ts +5 -5
- package/components/base/ProgressLoading/ProgressLoading.d.ts +7 -7
- package/components/base/RSelect/RSelect.d.ts +19 -19
- package/components/base/RadioButtonGroup/RadioButton/RadioButton.d.ts +10 -10
- package/components/base/RadioButtonGroup/RadioButtonGroup.d.ts +12 -12
- package/components/base/SideNavigation/SideNavigation.d.ts +14 -14
- package/components/base/Svg/Icons/Add.d.ts +4 -4
- package/components/base/Svg/Icons/Bars.d.ts +4 -4
- package/components/base/Svg/Icons/Calendar.d.ts +8 -8
- package/components/base/Svg/Icons/Car.d.ts +8 -8
- package/components/base/Svg/Icons/Checkbox.d.ts +4 -4
- package/components/base/Svg/Icons/Clock.d.ts +8 -8
- package/components/base/Svg/Icons/Close.d.ts +11 -11
- package/components/base/Svg/Icons/Delete.d.ts +4 -4
- package/components/base/Svg/Icons/IIconSvg.d.ts +6 -6
- package/components/base/Svg/Icons/Legs.d.ts +8 -8
- package/components/base/Svg/Icons/NextArrow.d.ts +8 -8
- package/components/base/Svg/Icons/PreviousArrow.d.ts +8 -8
- package/components/base/Svg/Icons/RadioButton.d.ts +4 -4
- package/components/base/Svg/Icons/SwitchIcon/SwitchIcon.d.ts +7 -7
- package/components/base/Svg/Icons/ThumbsDown.d.ts +8 -8
- package/components/base/Svg/Icons/ThumbsDownEmpty.d.ts +9 -9
- package/components/base/Svg/Icons/ThumbsUp.d.ts +8 -8
- package/components/base/Svg/Icons/ThumbsUpEmpty.d.ts +9 -9
- package/components/base/Svg/Icons/Uber.d.ts +8 -8
- package/components/base/Svg/Icons/index.d.ts +17 -17
- package/components/base/Svg/Svg.d.ts +13 -13
- package/components/base/Switch/Switch.d.ts +7 -7
- package/components/base/SwitchOld/SwitchOld.d.ts +8 -8
- package/components/base/TabMenu/TabMenu.d.ts +11 -11
- package/components/base/TextField/TextField.d.ts +19 -19
- package/handlers/handleOnChange.d.ts +2 -2
- package/handlers/handleOnKeyDown.d.ts +2 -2
- package/img/c333890c3b6ce527a1a114eb30958094.svg +43 -43
- package/img/e69f62d40d8a1961822b436a125be8dd.svg +43 -43
- package/index.d.ts +90 -90
- package/index.js +9784 -9785
- package/index.js.map +1 -1
- package/min.css +7898 -1
- package/package.json +35 -35
- package/providers/bb/components/BbAccommodationInfo/BbAccommodationInfo.d.ts +14 -14
- package/providers/bb/components/BbCarRentInfo/BbCarRentInfo.d.ts +13 -13
- package/providers/bb/components/BbTourCard/BbTourCard.d.ts +8 -8
- package/providers/bb/components/BbTourCard/BbTourCardImage/BbTourCardImage.d.ts +6 -6
- package/providers/bb/components/BbTourCard/BbTourCardText/BbTourCardText.d.ts +7 -7
- package/providers/bb/components/BbTourInfo/BbTourInfo.d.ts +12 -12
- package/providers/bb/components/BbTourInfo/BbTourInfoForm/BbTourInfoForm.d.ts +13 -13
- package/providers/bb/components/BbTourInfo/BbTourInfoImage/BbTourInfoImage.d.ts +9 -9
- package/providers/bb/components/BbTourInfo/BbTourInfoText/BbTourInfoText.d.ts +7 -7
- package/providers/bb/components/helper/index.d.ts +1 -1
- package/providers/glx/components/GlxTourCard/GlxTourCard.d.ts +8 -8
- package/providers/glx/components/GlxTourCard/GlxTourCardImage/GlxTourCardImage.d.ts +7 -7
- package/providers/glx/components/GlxTourCard/GlxTourCardText/GlxTourCardText.d.ts +7 -7
- package/providers/glx/components/GlxTourInfo/GlxTourInfo.d.ts +10 -10
- package/providers/glx/components/GlxTourInfo/GlxTourInfoForm/GlxTourInfoForm.d.ts +8 -8
- package/providers/glx/components/GlxTourInfo/GlxTourInfoImage/GlxTourInfoImage.d.ts +10 -10
- package/providers/glx/components/GlxTourInfo/GlxTourInfoText/GlxTourInfoText.d.ts +7 -7
- package/providers/gyg/components/BookingDetails/BookingDetails.d.ts +7 -7
- package/providers/gyg/components/GygTourCard/GygTourCard.d.ts +8 -8
- package/providers/gyg/components/GygTourCard/GygTourCardImage/GygTourCardImage.d.ts +7 -7
- package/providers/gyg/components/GygTourCard/GygTourCardText/GygTourCardText.d.ts +7 -7
- package/providers/gyg/components/GygTourInfo/GygTourInfo.d.ts +21 -21
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourInfoForm.d.ts +17 -17
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourOption/GygTourOption.d.ts +13 -13
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourOption/isoLanguages.d.ts +4 -4
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourShoppingForm/GygTourShoppingForm.d.ts +8 -8
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourShoppingForm/timezones.d.ts +8 -8
- package/providers/gyg/components/GygTourInfo/GygTourInfoImage/GygTourInfoImage.d.ts +9 -9
- package/providers/gyg/components/GygTourInfo/GygTourInfoText/GygTourInfoText.d.ts +7 -7
- package/providers/yelp/components/Booking/Booking.d.ts +22 -22
- package/providers/yelp/components/OpeningsForm/OpeningsForm.d.ts +13 -13
- package/providers/yelp/components/OpeningsSelection/OpeningsSelection.d.ts +9 -9
- package/providers/yelp/components/ReservationDetails/ReservationDetails.d.ts +7 -7
- package/providers/yelp/components/TableSearch/TableSearch.d.ts +9 -9
- package/providers/yelp/components/helper/index.d.ts +8 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface ITasteInfoText {
|
|
4
|
-
taste: Model.TasteItem;
|
|
5
|
-
}
|
|
6
|
-
declare const TasteInfoText: React.FC<ITasteInfoText>;
|
|
7
|
-
export default TasteInfoText;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface ITasteInfoText {
|
|
4
|
+
taste: Model.TasteItem;
|
|
5
|
+
}
|
|
6
|
+
declare const TasteInfoText: React.FC<ITasteInfoText>;
|
|
7
|
+
export default TasteInfoText;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface IThumsDownReason {
|
|
4
|
-
undo: () => void;
|
|
5
|
-
comment: (commentText: Model.REACTION_COMMENT) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const ThumsDownReason: React.FC<IThumsDownReason>;
|
|
8
|
-
export default ThumsDownReason;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface IThumsDownReason {
|
|
4
|
+
undo: () => void;
|
|
5
|
+
comment: (commentText: Model.REACTION_COMMENT) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const ThumsDownReason: React.FC<IThumsDownReason>;
|
|
8
|
+
export default ThumsDownReason;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Providers } from '@tripian/model';
|
|
3
|
-
interface ITourRefCard {
|
|
4
|
-
bookingRef: Providers.Glx.BookingRef;
|
|
5
|
-
clicked: (bookingRef: Providers.Glx.BookingRef) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const TourRefCard: React.FC<ITourRefCard>;
|
|
8
|
-
export default TourRefCard;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Providers } from '@tripian/model';
|
|
3
|
+
interface ITourRefCard {
|
|
4
|
+
bookingRef: Providers.Glx.BookingRef;
|
|
5
|
+
clicked: (bookingRef: Providers.Glx.BookingRef) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const TourRefCard: React.FC<ITourRefCard>;
|
|
8
|
+
export default TourRefCard;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface ITourRefCardProduct {
|
|
4
|
-
bookingProduct: Model.BookingProduct;
|
|
5
|
-
clicked: (bookingProduct: Model.BookingProduct) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const TourRefCardProduct: React.FC<ITourRefCardProduct>;
|
|
8
|
-
export default TourRefCardProduct;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface ITourRefCardProduct {
|
|
4
|
+
bookingProduct: Model.BookingProduct;
|
|
5
|
+
clicked: (bookingProduct: Model.BookingProduct) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const TourRefCardProduct: React.FC<ITourRefCardProduct>;
|
|
8
|
+
export default TourRefCardProduct;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface ITripCard {
|
|
4
|
-
tripReference: Model.TripReference;
|
|
5
|
-
editTrip: (tripReference: Model.TripReference) => void;
|
|
6
|
-
deleteTrip: (tripHash: string) => void;
|
|
7
|
-
clicked: (tripReference: Model.TripReference) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const TripCard: React.FC<ITripCard>;
|
|
10
|
-
export default TripCard;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface ITripCard {
|
|
4
|
+
tripReference: Model.TripReference;
|
|
5
|
+
editTrip: (tripReference: Model.TripReference) => void;
|
|
6
|
+
deleteTrip: (tripHash: string) => void;
|
|
7
|
+
clicked: (tripReference: Model.TripReference) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const TripCard: React.FC<ITripCard>;
|
|
10
|
+
export default TripCard;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface IUserCompanionSelection {
|
|
4
|
-
selectedCompanionIds: Array<number> | null;
|
|
5
|
-
userCompanionQuestions: Array<Model.Question>;
|
|
6
|
-
userCompanions?: Array<Model.Companion>;
|
|
7
|
-
companionLoadingList: Array<number>;
|
|
8
|
-
callbackUserCompanionAdd: (userCompoanion: Model.Companion) => void;
|
|
9
|
-
userCompanionSelectionCallBack: (selectedCompanionId: number, isDeleteAction?: boolean) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const UserCompanionSelection: React.FC<IUserCompanionSelection>;
|
|
12
|
-
export default UserCompanionSelection;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface IUserCompanionSelection {
|
|
4
|
+
selectedCompanionIds: Array<number> | null;
|
|
5
|
+
userCompanionQuestions: Array<Model.Question>;
|
|
6
|
+
userCompanions?: Array<Model.Companion>;
|
|
7
|
+
companionLoadingList: Array<number>;
|
|
8
|
+
callbackUserCompanionAdd: (userCompoanion: Model.Companion) => void;
|
|
9
|
+
userCompanionSelectionCallBack: (selectedCompanionId: number, isDeleteAction?: boolean) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const UserCompanionSelection: React.FC<IUserCompanionSelection>;
|
|
12
|
+
export default UserCompanionSelection;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface IUserCompanions {
|
|
4
|
-
companions: Model.Companion[];
|
|
5
|
-
questions: Array<Model.Question>;
|
|
6
|
-
companionLoadingList: Array<number>;
|
|
7
|
-
deleteCompanion: (id: number) => void;
|
|
8
|
-
editCompanion: (companion: Model.Companion) => void;
|
|
9
|
-
showWarningMessage: (show: boolean) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const UserCompanions: React.FC<IUserCompanions>;
|
|
12
|
-
export default UserCompanions;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface IUserCompanions {
|
|
4
|
+
companions: Model.Companion[];
|
|
5
|
+
questions: Array<Model.Question>;
|
|
6
|
+
companionLoadingList: Array<number>;
|
|
7
|
+
deleteCompanion: (id: number) => void;
|
|
8
|
+
editCompanion: (companion: Model.Companion) => void;
|
|
9
|
+
showWarningMessage: (show: boolean) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const UserCompanions: React.FC<IUserCompanions>;
|
|
12
|
+
export default UserCompanions;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IAccordion {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
content: JSX.Element;
|
|
6
|
-
defaultChecked?: boolean;
|
|
7
|
-
onClick?: (id: string) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const Accordion: React.FC<IAccordion>;
|
|
10
|
-
export default Accordion;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IAccordion {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
content: JSX.Element;
|
|
6
|
+
defaultChecked?: boolean;
|
|
7
|
+
onClick?: (id: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Accordion: React.FC<IAccordion>;
|
|
10
|
+
export default Accordion;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IOption {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
}
|
|
6
|
-
interface IAutoCompleteSearch {
|
|
7
|
-
options: Array<IOption>;
|
|
8
|
-
defaultUserInput?: string;
|
|
9
|
-
selectOption: Function;
|
|
10
|
-
}
|
|
11
|
-
declare const AutoCompleteSearchV1: React.FC<IAutoCompleteSearch>;
|
|
12
|
-
export default AutoCompleteSearchV1;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IOption {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
interface IAutoCompleteSearch {
|
|
7
|
+
options: Array<IOption>;
|
|
8
|
+
defaultUserInput?: string;
|
|
9
|
+
selectOption: Function;
|
|
10
|
+
}
|
|
11
|
+
declare const AutoCompleteSearchV1: React.FC<IAutoCompleteSearch>;
|
|
12
|
+
export default AutoCompleteSearchV1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IBackdrop {
|
|
3
|
-
show: boolean;
|
|
4
|
-
clicked: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
5
|
-
}
|
|
6
|
-
declare const Backdrop: React.FC<IBackdrop>;
|
|
7
|
-
export default Backdrop;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IBackdrop {
|
|
3
|
+
show: boolean;
|
|
4
|
+
clicked: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
5
|
+
}
|
|
6
|
+
declare const Backdrop: React.FC<IBackdrop>;
|
|
7
|
+
export default Backdrop;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import BUTTON_TYPES from './ButtonTypes';
|
|
3
|
-
interface IButton {
|
|
4
|
-
text?: string;
|
|
5
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
6
|
-
type?: BUTTON_TYPES;
|
|
7
|
-
size?: 'default' | 'small' | 'large';
|
|
8
|
-
color?: 'default' | 'primary' | 'secondary' | 'danger' | 'disabled';
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
className?: string;
|
|
11
|
-
iconPath?: string;
|
|
12
|
-
iconPath2?: string;
|
|
13
|
-
iconPosition?: string;
|
|
14
|
-
iconSize?: string;
|
|
15
|
-
iconViewBox?: string;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const Button: React.FC<IButton>;
|
|
19
|
-
export default Button;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import BUTTON_TYPES from './ButtonTypes';
|
|
3
|
+
interface IButton {
|
|
4
|
+
text?: string;
|
|
5
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
6
|
+
type?: BUTTON_TYPES;
|
|
7
|
+
size?: 'default' | 'small' | 'large';
|
|
8
|
+
color?: 'default' | 'primary' | 'secondary' | 'danger' | 'disabled';
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
className?: string;
|
|
11
|
+
iconPath?: string;
|
|
12
|
+
iconPath2?: string;
|
|
13
|
+
iconPosition?: string;
|
|
14
|
+
iconSize?: string;
|
|
15
|
+
iconViewBox?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const Button: React.FC<IButton>;
|
|
19
|
+
export default Button;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare enum BUTTON_TYPES {
|
|
2
|
-
CONTAINED = "CONTAINED",
|
|
3
|
-
OUTLINED = "OUTLINED",
|
|
4
|
-
TEXT = "TEXT"
|
|
5
|
-
}
|
|
6
|
-
export default BUTTON_TYPES;
|
|
1
|
+
declare enum BUTTON_TYPES {
|
|
2
|
+
CONTAINED = "CONTAINED",
|
|
3
|
+
OUTLINED = "OUTLINED",
|
|
4
|
+
TEXT = "TEXT"
|
|
5
|
+
}
|
|
6
|
+
export default BUTTON_TYPES;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Add: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Add;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Add: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Add;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Bars: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Bars;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Bars: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Bars;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IButtonIcons } from './IButtonIcons';
|
|
3
|
-
declare const Base: (svgIconPath: string, iconViewBox?: string, svgIconPath2?: string) => React.FC<IButtonIcons>;
|
|
4
|
-
export default Base;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IButtonIcons } from './IButtonIcons';
|
|
3
|
+
declare const Base: (svgIconPath: string, iconViewBox?: string, svgIconPath2?: string) => React.FC<IButtonIcons>;
|
|
4
|
+
export default Base;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Bookings: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Bookings;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Bookings: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Bookings;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Cancel: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Cancel;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Cancel: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Cancel;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Check: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Check;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Check: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Check;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './CloseIconButton.scss';
|
|
3
|
-
interface ICloseIconButton {
|
|
4
|
-
clicked: () => void;
|
|
5
|
-
fill: string;
|
|
6
|
-
}
|
|
7
|
-
declare const CloseIconButton: React.FC<ICloseIconButton>;
|
|
8
|
-
export default CloseIconButton;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './CloseIconButton.scss';
|
|
3
|
+
interface ICloseIconButton {
|
|
4
|
+
clicked: () => void;
|
|
5
|
+
fill: string;
|
|
6
|
+
}
|
|
7
|
+
declare const CloseIconButton: React.FC<ICloseIconButton>;
|
|
8
|
+
export default CloseIconButton;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Delete: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Delete;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Delete: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Delete;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Edit: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Edit;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Edit: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Edit;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './FavoriteIconButton.scss';
|
|
3
|
-
interface IFavoriteIconButton {
|
|
4
|
-
clicked: () => void;
|
|
5
|
-
favorite: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const FavoriteIconButton: React.FC<IFavoriteIconButton>;
|
|
8
|
-
export default FavoriteIconButton;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './FavoriteIconButton.scss';
|
|
3
|
+
interface IFavoriteIconButton {
|
|
4
|
+
clicked: () => void;
|
|
5
|
+
favorite: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const FavoriteIconButton: React.FC<IFavoriteIconButton>;
|
|
8
|
+
export default FavoriteIconButton;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Favorites: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Favorites;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Favorites: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Favorites;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import BUTTON_TYPES from '../ButtonTypes';
|
|
3
|
-
export interface IButtonIcons {
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
text?: string;
|
|
6
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
7
|
-
type?: BUTTON_TYPES;
|
|
8
|
-
size?: 'default' | 'small' | 'large';
|
|
9
|
-
color?: 'default' | 'primary' | 'secondary' | 'danger' | 'disabled';
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
className?: string;
|
|
12
|
-
iconPosition?: string;
|
|
13
|
-
iconSize?: string;
|
|
14
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import BUTTON_TYPES from '../ButtonTypes';
|
|
3
|
+
export interface IButtonIcons {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
text?: string;
|
|
6
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
7
|
+
type?: BUTTON_TYPES;
|
|
8
|
+
size?: 'default' | 'small' | 'large';
|
|
9
|
+
color?: 'default' | 'primary' | 'secondary' | 'danger' | 'disabled';
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
className?: string;
|
|
12
|
+
iconPosition?: string;
|
|
13
|
+
iconSize?: string;
|
|
14
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const List: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default List;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const List: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default List;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Remove: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Remove;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Remove: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Remove;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Replace: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Replace;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Replace: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Replace;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Save: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Save;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Save: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Save;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Search: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Search;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Search: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Search;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const Uber: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
export default Uber;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Uber: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
export default Uber;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
Add: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
-
Bars: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
4
|
-
Bookings: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
5
|
-
Cancel: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
6
|
-
Check: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
7
|
-
Delete: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
8
|
-
Remove: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
9
|
-
Edit: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
10
|
-
Favorites: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
11
|
-
List: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
12
|
-
Search: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
13
|
-
Save: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
14
|
-
Replace: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
15
|
-
Uber: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
Add: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
3
|
+
Bars: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
4
|
+
Bookings: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
5
|
+
Cancel: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
6
|
+
Check: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
7
|
+
Delete: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
8
|
+
Remove: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
9
|
+
Edit: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
10
|
+
Favorites: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
11
|
+
List: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
12
|
+
Search: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
13
|
+
Save: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
14
|
+
Replace: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
15
|
+
Uber: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ICheckbox {
|
|
3
|
-
domId: string;
|
|
4
|
-
text: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
checked: boolean;
|
|
7
|
-
onChange: (checked: boolean, domId: string) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const Checkbox: React.FC<ICheckbox>;
|
|
10
|
-
export default Checkbox;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ICheckbox {
|
|
3
|
+
domId: string;
|
|
4
|
+
text: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
onChange: (checked: boolean, domId: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Checkbox: React.FC<ICheckbox>;
|
|
10
|
+
export default Checkbox;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface ICheckboxTree {
|
|
4
|
-
domId: string;
|
|
5
|
-
text: string;
|
|
6
|
-
subOptions: Array<Model.SubOption>;
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
checkeds: Array<number>;
|
|
9
|
-
onChangeParent: (checked: boolean, domId: string) => void;
|
|
10
|
-
onChangeChild: (checked: boolean, domId: string) => void;
|
|
11
|
-
}
|
|
12
|
-
declare const CheckboxTree: React.FC<ICheckboxTree>;
|
|
13
|
-
export default CheckboxTree;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface ICheckboxTree {
|
|
4
|
+
domId: string;
|
|
5
|
+
text: string;
|
|
6
|
+
subOptions: Array<Model.SubOption>;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
checkeds: Array<number>;
|
|
9
|
+
onChangeParent: (checked: boolean, domId: string) => void;
|
|
10
|
+
onChangeChild: (checked: boolean, domId: string) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const CheckboxTree: React.FC<ICheckboxTree>;
|
|
13
|
+
export default CheckboxTree;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IOptions {
|
|
3
|
-
key?: string | number;
|
|
4
|
-
value: string | number;
|
|
5
|
-
label?: string | number;
|
|
6
|
-
}
|
|
7
|
-
interface IDropdown {
|
|
8
|
-
id?: string;
|
|
9
|
-
options: Array<IOptions>;
|
|
10
|
-
defaultValue: string | number;
|
|
11
|
-
selectChange: (value: string | number, index: number) => void;
|
|
12
|
-
}
|
|
13
|
-
declare const Dropdown: React.FC<IDropdown>;
|
|
14
|
-
export default Dropdown;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IOptions {
|
|
3
|
+
key?: string | number;
|
|
4
|
+
value: string | number;
|
|
5
|
+
label?: string | number;
|
|
6
|
+
}
|
|
7
|
+
interface IDropdown {
|
|
8
|
+
id?: string;
|
|
9
|
+
options: Array<IOptions>;
|
|
10
|
+
defaultValue: string | number;
|
|
11
|
+
selectChange: (value: string | number, index: number) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const Dropdown: React.FC<IDropdown>;
|
|
14
|
+
export default Dropdown;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IIconImage {
|
|
3
|
-
type: 'FAVORITES' | 'BOOKINGS' | 'TOUR' | 'SEARCH';
|
|
4
|
-
}
|
|
5
|
-
declare const IconImage: React.FC<IIconImage>;
|
|
6
|
-
export default IconImage;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IIconImage {
|
|
3
|
+
type: 'FAVORITES' | 'BOOKINGS' | 'TOUR' | 'SEARCH';
|
|
4
|
+
}
|
|
5
|
+
declare const IconImage: React.FC<IIconImage>;
|
|
6
|
+
export default IconImage;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IImg {
|
|
3
|
-
src: string;
|
|
4
|
-
srcSet: string;
|
|
5
|
-
alt: string;
|
|
6
|
-
}
|
|
7
|
-
declare const Img: React.FC<IImg>;
|
|
8
|
-
export default Img;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IImg {
|
|
3
|
+
src: string;
|
|
4
|
+
srcSet: string;
|
|
5
|
+
alt: string;
|
|
6
|
+
}
|
|
7
|
+
declare const Img: React.FC<IImg>;
|
|
8
|
+
export default Img;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IImgLazy {
|
|
3
|
-
src: string;
|
|
4
|
-
alt: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
x?: number;
|
|
7
|
-
y?: number;
|
|
8
|
-
showThumbnails?: boolean;
|
|
9
|
-
objectFit?: 'cover' | 'contain';
|
|
10
|
-
referrerPolicy?: React.HTMLAttributeReferrerPolicy;
|
|
11
|
-
}
|
|
12
|
-
declare const ImgLazy: React.FC<IImgLazy>;
|
|
13
|
-
export default ImgLazy;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IImgLazy {
|
|
3
|
+
src: string;
|
|
4
|
+
alt: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
x?: number;
|
|
7
|
+
y?: number;
|
|
8
|
+
showThumbnails?: boolean;
|
|
9
|
+
objectFit?: 'cover' | 'contain';
|
|
10
|
+
referrerPolicy?: React.HTMLAttributeReferrerPolicy;
|
|
11
|
+
}
|
|
12
|
+
declare const ImgLazy: React.FC<IImgLazy>;
|
|
13
|
+
export default ImgLazy;
|