import {Component} from 'react'; import SentryAppComponentsStore from 'sentry/stores/sentryAppComponentsStore'; import {SentryAppComponent} from 'sentry/types'; import getDisplayName from 'sentry/utils/getDisplayName'; type InjectedAppComponentsProps = { components: SentryAppComponent[]; }; type State = { components: SentryAppComponent[]; }; type Options = { componentType?: 'stacktrace-link'; }; function withSentryAppComponents
( WrappedComponent: React.ComponentType
, {componentType}: Options = {} ) { class WithSentryAppComponents extends Component< Omit
& Partial