mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
22 lines
462 B
TypeScript
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;
|