import React from 'react';
import { TrackingScopeContext } from '../Context';

const TrackingScope = ({
  scopeName,
  children,
}: {
  scopeName: string;
  children: any;
}) => {
  return (
    <TrackingScopeContext.Provider value={{ scopeName }}>
      {children}
    </TrackingScopeContext.Provider>
  );
};

export { TrackingScope };
