import {Fragment} from 'react'; import {Location} from 'history'; import {HeaderTitleLegend} from 'sentry/components/charts/styles'; import QuestionTooltip from 'sentry/components/questionTooltip'; import {t, tct} from 'sentry/locale'; import {OrganizationSummary} from 'sentry/types'; import {ViewProps} from '../../../types'; import {SpanOperationBreakdownFilter} from '../../filter'; import Content from './content'; type Props = ViewProps & { currentFilter: SpanOperationBreakdownFilter; location: Location; organization: OrganizationSummary; }; function LatencyChart({currentFilter, ...props}: Props) { const header = ( {currentFilter === SpanOperationBreakdownFilter.None ? t('Duration Distribution') : tct('Span Operation Distribution - [operationName]', { operationName: currentFilter, })} ); return ( {header} ); } export default LatencyChart;