"use client"

import {
  BookingFlowContext,
  type BookingFlowContextData,
} from "../bookingFlowContext"

import type { ReactNode } from "react"

export function BookingFlowContextProvider(props: {
  children: ReactNode
  data: BookingFlowContextData
}) {
  return (
    <BookingFlowContext value={props.data}>{props.children}</BookingFlowContext>
  )
}
