metricsContext.tsx 306 B

12345678910
  1. import {createContext} from 'react';
  2. import {MetricsMetaCollection, MetricsTagCollection} from 'sentry/types';
  3. export interface MetricsContextValue {
  4. metas: MetricsMetaCollection;
  5. tags: MetricsTagCollection;
  6. }
  7. export const MetricsContext = createContext<MetricsContextValue | undefined>(undefined);