"use client"

import { TrackingContext, type TrackingFunctions } from "../trackingContext"

import type { ReactNode } from "react"

export function BookingFlowTrackingProvider(props: {
  children: ReactNode
  trackingFunctions: TrackingFunctions
}) {
  return (
    <TrackingContext value={props.trackingFunctions}>
      {props.children}
    </TrackingContext>
  )
}
