Files
2024-02-15 17:01:50 +00:00

22 lines
462 B
TypeScript

import {t} from 'sentry/locale';
import {Grid, GridCell} from './styles';
type Props = {
hasThreadStates: boolean;
};
function Header({hasThreadStates}: Props) {
return (
<Grid hasThreadStates={hasThreadStates}>
<GridCell />
<GridCell>{t('Id')}</GridCell>
<GridCell>{t('Name')}</GridCell>
<GridCell>{t('Label')}</GridCell>
{hasThreadStates && <GridCell>{t('State')}</GridCell>}
</Grid>
);
}
export default Header;