{"size": 289, "ext": "js", "max_stars_repo_path": "src/components/common/error/error.js", "max_stars_repo_name": "garronej/SEP-Pilot-client-1", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/common/error/error.js", "max_issues_repo_name": "garronej/SEP-Pilot-client-1", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/common/error/error.js", "max_forks_repo_name": "garronej/SEP-Pilot-client-1", "max_forks_repo_forks_event_min_datetime": "2022-03-03T15:33:15.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-04T20:30:17.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 5, "avg_line_length": 20.6428571429, "max_line_length": 44, "alphanum_fraction": 0.6332179931}
import * as React from 'react';
import Alert from '@mui/material/Alert';
import Stack from '@mui/material/Stack';

const Error = ({ message }) => {
	return (
		<Stack sx={{ width: '100%' }} spacing={2}>
			<Alert severity="error">{message}</Alert>
		</Stack>
	);
};

export default Error;
