import {Component} from 'react'; import OrganizationsStore from 'sentry/stores/organizationsStore'; import {OrganizationSummary} from 'sentry/types'; import getDisplayName from 'sentry/utils/getDisplayName'; type InjectedOrganizationsProps = { organizations: OrganizationSummary[]; organizationsLoading?: boolean; }; type State = { organizations: OrganizationSummary[]; }; function withOrganizations
( WrappedComponent: React.ComponentType
) { class WithOrganizations extends Component< Omit
& Partial