'use client';

import { TourProvider } from '../context/TourProvider';
import type { TourProps } from '../types';

/**
 * All-in-one Tour component.
 * Combines TourProvider with children for simple usage.
 */
export function Tour({ children, ...providerProps }: TourProps) {
  return <TourProvider {...providerProps}>{children}</TourProvider>;
}
