import {SegmentedControl} from 'sentry/components/segmentedControl'; import {Tooltip} from 'sentry/components/tooltip'; import {t} from 'sentry/locale'; import type {ProjectionSamplePeriod} from 'sentry/views/settings/dynamicSampling/utils/useProjectSampleCounts'; interface Props { onChange: (period: ProjectionSamplePeriod) => void; period: ProjectionSamplePeriod; } export function ProjectionPeriodControl({period, onChange}: Props) { return ( {t('24h')} {t('30d')} ); }