import Duration from 'sentry/components/duration'; import {t} from 'sentry/locale'; import {NumberContainer} from 'sentry/utils/discover/styles'; type Props = { milliseconds: number; containerProps?: React.DetailedHTMLProps< React.HTMLAttributes, HTMLDivElement >; }; export default function DurationCell({milliseconds, containerProps}: Props) { const undefinedDurationText = `--${t('ms')}`; return ( {milliseconds >= 0 ? ( ) : ( undefinedDurationText )} ); }