import React from 'react';
import { T } from 'Framework/i18n';
import Typography from '@material-ui/core/Typography';
import { withStyles } from '@material-ui/core/styles';

const styles = {
    root: {
        paddingTop: 200,
        textAlign: 'center',
    },
};

export const NoVisualization = withStyles(styles, { name: 'NoVisualization' })(({ classes }) => (
    <Typography variant="body1" className={classes.root}>
        {T('visualization.errors.visualizationNotPossible')}
    </Typography>
));

export default NoVisualization;
