12345678910111213141516171819202122 |
- import type {RouteComponentProps} from 'react-router';
- import Feature from 'sentry/components/acl/feature';
- import type {Organization} from 'sentry/types/organization';
- import type {Project} from 'sentry/types/project';
- import ProjectMetrics from './projectMetrics';
- type Props = RouteComponentProps<{projectId: string}, {}> & {
- organization: Organization;
- project: Project;
- };
- function ProjectMetricsContainer(props: Props) {
- return (
- <Feature features={['custom-metrics']}>
- <ProjectMetrics {...props} />
- </Feature>
- );
- }
- export default ProjectMetricsContainer;
|