Cockatrice/webclient/src/containers/Unsupported/Unsupported.tsx
Jeremy Letto f619ef23fd
Upgrade to MUI 5 (#4606)
* save work

* fix perf issue on i18n rollup

* fix reset styling

* move body line-height from reset

Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
2022-10-29 20:17:03 -05:00

29 lines
832 B
TypeScript

import { connect } from 'react-redux';
import { useTranslation } from 'react-i18next';
import Paper from '@mui/material/Paper';
import Typography from '@mui/material/Typography';
import './Unsupported.css';
const Unsupported = () => {
const { t } = useTranslation();
return (
<div className='Unsupported'>
<Paper className='Unsupported-paper'>
<div className='Unsupported-paper__header'>
<Typography variant="h1">{ t('UnsupportedContainer.title') }</Typography>
<Typography variant="subtitle1">{ t('UnsupportedContainer.subtitle1') }</Typography>
</div>
<Typography variant="subtitle2">{ t('UnsupportedContainer.subtitle2') }</Typography>
</Paper>
</div>
);
};
const mapStateToProps = state => ({
});
export default connect(mapStateToProps)(Unsupported);