import {SegmentedControl} from 'sentry/components/segmentedControl'; import {t} from 'sentry/locale'; import type {ResultMode} from 'sentry/views/explore/hooks/useResultsMode'; import {ToolbarRow, ToolbarSection} from './styles'; interface ToolbarResultsProps { resultMode: ResultMode; setResultMode: (newMode: ResultMode) => void; } export function ToolbarResults({resultMode, setResultMode}: ToolbarResultsProps) { return ( {t('Samples')} {t('Aggregates')} ); }