kupos-ui-components-lib
Version:
A reusable UI components package
104 lines (99 loc) • 2.85 kB
text/typescript
export interface PaymentSideBarProps {
variant?: "mobile" | "desktop";
serviceNameOnward: string;
serviceNameReturn: string;
metaData?: any;
dateOnward?: string;
dateReturn?: string;
sourceOnward?: string;
sourceReturn?: string;
destinationOnward?: string;
destinationReturn?: string;
boardingStageOnward?: string;
boardingStageReturn?: string;
droppingStageOnward?: string;
droppingStageReturn?: string;
boardingTimeOnward?: string;
boardingTimeReturn?: string;
droppingTimeOnward?: string;
droppingTimeReturn?: string;
durationOnward?: string;
durationReturn?: string;
selectSeatOnward: any;
selectSeatReturn: any;
journeyTypeActive?: number ;
trainTypeOnward?: boolean;
trainTypeReturn?: boolean;
setJourneyTypeActive?: (value: number) => void;
translation?: { [key: string]: string };
colors: {
kuposButtonColor?: string;
topLabelColor?: string;
tooltipColor?: string;
ratingBorderColor?: string;
ratingBottomColor?: string;
priceColor?: string;
secondaryBgColor?: string;
secondaryTextColor?: string;
primaryButtonTextColor?: string;
bottomStripColor?: string;
idaSelectedTextColor?: string;
vueltaSelectedTextColor?: string;
idaUnSelectedTextColor?: string;
vueltaUnSelectedTextColor?: string;
idVueltaBgColor?: string;
idaBgColor?: string;
vueltaBgColor?: string,
whatsappDeliveryChargesBgColor?: string,
whatsappDeliveryChargesTextColor?: string,
countdownTimerColor?: string,
seatPriceColor?: string,
discountPriceColor?: string,
promoCodePriceColor?: string,
agencyFeePriceColor?: string,
whatsappDeliveryChargesColor?: string,
};
trainType?: boolean;
icons?: {
origin?: string;
destination?: string;
hours?: string;
whatsappInfoIcon?: string;
closeIcon?: string;
countdownTimerIcon?: string;
},
selectedOnward?: any;
selectedReturn?: any;
conexionChecked?: boolean;
conexionPassengers?: number;
returnConexionFare?: number;
conexionFare?: number;
loginData?: any;
checkWhatsappEligibility?: boolean;
removeDiscountAtomValue?: boolean;
netFare?: number;
walletMoney?: number;
virtualMoney?: number;
virtualLimit?: number;
discountAmount?: number;
discountArray?: any;
agencyFee?: number;
isAgency?: boolean;
showUsd?: boolean;
netFareInUsd?: number;
promoCode?: any;
onPromoRemove?: () => void;
renderDiscount?: (discountAmount: number) => React.ReactNode;
currencySign?: string;
currency?: string;
t?: (key: string) => string;
setShowWhatsappChargesInfo?: (value: boolean) => void;
showWhatsappChargesInfo?: boolean;
onButtonOneClick?: any;
onHide?: any;
onBackDropPress?: any;
countdown?: string;
creditosLabel?: string;
walletLabel?: string;
customSideBarwidth?: string;
}