import {PageFilters} from 'sentry/types'; import getDisplayName from 'sentry/utils/getDisplayName'; import usePageFilters from './usePageFilters'; type InjectedPageFiltersProps = { isGlobalSelectionReady?: boolean; selection?: PageFilters; }; /** * Higher order component that uses PageFiltersStore and provides the active * project */ function withPageFilters
( WrappedComponent: React.ComponentType
) { type Props = Omit
& InjectedPageFiltersProps;
const WithPageFilters: React.FC