overleaf/services/web/frontend/js/features/settings/components/emails/header.tsx
Timothée Alby cf2dfc6bf1 Merge pull request #7593 from overleaf/ta-settings-migration
[SettingsPage] Integration Branch

GitOrigin-RevId: 5a3c26b2a02d716c4ae3981e3f08b811ae307725
2022-04-25 08:05:12 +00:00

28 lines
671 B
TypeScript

import { useTranslation } from 'react-i18next'
import { Row, Col } from 'react-bootstrap'
import EmailCell from './cell'
function Header() {
const { t } = useTranslation()
return (
<>
<Row>
<Col md={4} className="hidden-xs">
<EmailCell>
<strong>{t('email')}</strong>
</EmailCell>
</Col>
<Col md={8} className="hidden-xs">
<EmailCell>
<strong>{t('institution_and_role')}</strong>
</EmailCell>
</Col>
</Row>
<div className="hidden-xs horizontal-divider" />
<div className="hidden-xs horizontal-divider" />
</>
)
}
export default Header