@qite/tide-booking-component
Version:
React Booking wizard & Booking product component for Tide
61 lines (57 loc) • 1.28 kB
text/typescript
import React from "react";
import { Settings } from "./types";
interface WizardSettingsContextProps extends Settings {}
const SettingsContext = React.createContext<WizardSettingsContextProps>({
language: "nl-BE",
generatePaymentUrl: false,
currency: "EUR",
officeId: 1,
tagIds: [],
hideAgentSelection: false,
agentAdressId: undefined,
affiliateSlug: undefined,
productPath: "/",
basePath: "/boeken",
roomOptions: {
pathSuffix: "/",
},
flightOptions: {
pathSuffix: "/vluchten",
},
options: {
pathSuffix: "/opties",
},
travellers: {
pathSuffix: "/reizigers",
},
summary: {
pathSuffix: "/samenvatting",
checkboxes: null,
},
confirmation: {
pathSuffix: "/bevestiging",
},
error: {
pathSuffix: "/mislukt",
},
companyContactEmail: "info@tidesoftware.be",
companyContactPhone: "093362299",
showProductCardRating: false,
showSidebarDeposit: false,
sidebarHeaderComponent: null,
sidebarFooterComponent: null,
loaderComponent: null,
icons: null,
bookingOptions: {
b2b: {
entryStatus: 0,
},
b2b2c: {
entryStatus: 0,
},
b2c: {
entryStatus: 0,
},
},
});
export default SettingsContext;