import NavTabs from 'sentry/components/navTabs'; import {t} from 'sentry/locale'; import useUrlParams from 'sentry/utils/replays/hooks/useUrlParams'; type Props = {}; const TABS = { video: t('Replay'), tags: t('Tags'), }; function SideTabs({}: Props) { const {getParamValue, setParamValue} = useUrlParams('t_side', 'video'); const active = getParamValue(); return ( {Object.entries(TABS).map(([tab, label]) => { return (
  • setParamValue(tab)}>{label}
  • ); })}
    ); } export default SideTabs;